Package org.wildfly.security.credential
Class X509CertificateChainPublicCredential
- java.lang.Object
-
- org.wildfly.security.credential.AbstractX509CertificateChainCredential
-
- org.wildfly.security.credential.X509CertificateChainPublicCredential
-
- All Implemented Interfaces:
Cloneable
,AlgorithmCredential
,Credential
,X509CertificateChainCredential
public final class X509CertificateChainPublicCredential extends AbstractX509CertificateChainCredential
A credential containing an X.509 certificate chain.- Author:
- David M. Lloyd
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.credential.AbstractX509CertificateChainCredential
certificateChain
-
Fields inherited from interface org.wildfly.security.credential.Credential
NO_CREDENTIALS
-
-
Constructor Summary
Constructors Constructor Description X509CertificateChainPublicCredential(X509Certificate... certificateChain)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509CertificateChainPublicCredential
clone()
Creates and returns a copy of thisCredential
.boolean
equals(Object obj)
int
hashCode()
-
Methods inherited from class org.wildfly.security.credential.AbstractX509CertificateChainCredential
canVerify, getAlgorithm, getCertificateChain, getFirstCertificate, getLastCertificate, getParameters, impliesSameParameters, supportsParameters, verify, verify
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.credential.AlgorithmCredential
getParameters, impliesParameters, matches, matches, matches, supportsParameters
-
Methods inherited from interface org.wildfly.security.credential.Credential
canVerify, castAndApply, castAndApply, castAndApply, castAs, castAs, castAs
-
-
-
-
Constructor Detail
-
X509CertificateChainPublicCredential
public X509CertificateChainPublicCredential(X509Certificate... certificateChain)
Construct a new instance.- Parameters:
certificateChain
- the certificate chain (notnull
, cannot containnull
elements)
-
-
Method Detail
-
clone
public X509CertificateChainPublicCredential clone()
Description copied from interface:X509CertificateChainCredential
Creates and returns a copy of thisCredential
.- Specified by:
clone
in interfaceAlgorithmCredential
- Specified by:
clone
in interfaceCredential
- Specified by:
clone
in interfaceX509CertificateChainCredential
- Specified by:
clone
in classAbstractX509CertificateChainCredential
- Returns:
- a copy of this
Credential
.
-
-