Class X509CertificateChainAndSigningKey


  • public final class X509CertificateChainAndSigningKey
    extends Object
    An X.509 certificate chain and private key.
    Since:
    1.5.0
    Author:
    Farah Juma
    • Constructor Detail

      • X509CertificateChainAndSigningKey

        public X509CertificateChainAndSigningKey​(X509Certificate[] certificateChain,
                                                 PrivateKey signingKey)
        Construct a new instance.
        Parameters:
        certificateChain - the X.509 certificate chain
        signingKey - the private key
    • Method Detail

      • getCertificateChain

        public X509Certificate[] getCertificateChain()
        Get the X.509 certificate chain.
        Returns:
        the X.509 certificate chain
      • getSigningKey

        public PrivateKey getSigningKey()
        Get the private key.
        Returns:
        the private key