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:
  • Constructor Details

    • KeyAccessor

      public KeyAccessor()
  • Method Details

    • 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