Package com.pingidentity.access
Class KeyAccessor
- java.lang.Object
-
- com.pingidentity.access.KeyAccessor
-
public class KeyAccessor extends Object
Provides access to keys and certificates from the PingFederate engine.- See Also:
DsigKeypairFieldDescriptor
-
-
Constructor Summary
Constructors Constructor Description KeyAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X500PrivateCredentialgetClientSslKeypair(String alias)Gets the client key pair used for SSL mutual authentication, given the aliasX500PrivateCredentialgetDsigKeypair(String alias)Gets the key pair used for digital signing, given the aliasX509CertificategetEncryptionCertificate(String alias)Gets the certificate given the alias
-
-
-
Method Detail
-
getClientSslKeypair
public X500PrivateCredential getClientSslKeypair(String alias)
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
public X500PrivateCredential getDsigKeypair(String alias)
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
public X509Certificate getEncryptionCertificate(String alias)
Gets the certificate given the alias- Parameters:
alias- the alias of the cert- Returns:
- an X509Certificate
-
-