org.apache.subversion.javahl.callback
Class AuthnCallback.SSLClientCertPassphraseResult

java.lang.Object
  extended by org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
      extended by org.apache.subversion.javahl.callback.AuthnCallback.SSLClientCertPassphraseResult
All Implemented Interfaces:
Serializable
Enclosing interface:
AuthnCallback

public static final class AuthnCallback.SSLClientCertPassphraseResult
extends AuthnCallback.AuthnResult
implements Serializable

The result type used by AuthnCallback.sslClientCertPassphrasePrompt(java.lang.String, boolean).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
identity, save, secret, trust
 
Constructor Summary
AuthnCallback.SSLClientCertPassphraseResult(String passphrase)
          Set the cerfiticate passphrase in the result.
AuthnCallback.SSLClientCertPassphraseResult(String passphrase, boolean maySave)
          Set the cerfiticate passphrase in the result.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnCallback.SSLClientCertPassphraseResult

public AuthnCallback.SSLClientCertPassphraseResult(String passphrase)
Set the cerfiticate passphrase in the result. Assumes the result may not be stored permanently.

Parameters:
passphrase - The passphrase for decrypting the certificate.

AuthnCallback.SSLClientCertPassphraseResult

public AuthnCallback.SSLClientCertPassphraseResult(String passphrase,
                                                   boolean maySave)
Set the cerfiticate passphrase in the result.

Parameters:
passphrase - The passphrase for decrypting the certificate.
maySave - Set if the result may be stored permanently.