Package com.pingidentity.access
Class KeyAccessor
java.lang.Object
com.pingidentity.access.KeyAccessor
Provides access to keys and certificates from the PingFederate engine.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientSslKeypair(String alias) Gets the client key pair used for SSL mutual authentication, given the aliasgetDsigKeypair(String alias) Gets the key pair used for digital signing, given the aliasgetEncryptionCertificate(String alias) Gets the certificate given the alias
-
Constructor Details
-
KeyAccessor
public KeyAccessor()
-
-
Method Details
-
getClientSslKeypair
Gets the client key pair used for SSL mutual authentication, given the alias- Parameters:
alias- the alias of the key and cert- Returns:
- an X500PrivateCredential with the private key and X509 cert
-
getDsigKeypair
Gets the key pair used for digital signing, given the alias- Parameters:
alias- the alias of the key and cert- Returns:
- an X500PrivateCredential with the private key and X509 cert
-
getEncryptionCertificate
Gets the certificate given the alias- Parameters:
alias- the alias of the cert- Returns:
- an X509Certificate
-