Package org.wildfly.security.x500.cert
Class X509CertificateChainAndSigningKey
- java.lang.Object
-
- org.wildfly.security.x500.cert.X509CertificateChainAndSigningKey
-
public final class X509CertificateChainAndSigningKey extends Object
An X.509 certificate chain and private key.- Since:
- 1.5.0
- Author:
- Farah Juma
-
-
Constructor Summary
Constructors Constructor Description X509CertificateChainAndSigningKey(X509Certificate[] certificateChain, PrivateKey signingKey)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Certificate[]
getCertificateChain()
Get the X.509 certificate chain.PrivateKey
getSigningKey()
Get the private key.
-
-
-
Constructor Detail
-
X509CertificateChainAndSigningKey
public X509CertificateChainAndSigningKey(X509Certificate[] certificateChain, PrivateKey signingKey)
Construct a new instance.- Parameters:
certificateChain
- the X.509 certificate chainsigningKey
- 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
-
-