public final class X509PeerCertificateChainEvidence extends Object implements AlgorithmEvidence
Constructor and Description |
---|
X509PeerCertificateChainEvidence(X509Certificate... peerCertificateChain)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Get the certificate public key algorithm.
|
X509Certificate |
getFirstCertificate()
Get the first certificate in the peer certificate chain.
|
X509Certificate |
getLastCertificate()
Get the last certificate in the peer certificate chain.
|
X509Certificate[] |
getPeerCertificateChain()
Get the peer certificate chain.
|
X500Principal |
getPrincipal()
Get the
Principal represented by the first certificate in the chain. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
castAndApply
castAndApply, castAs, castAs
public X509PeerCertificateChainEvidence(X509Certificate... peerCertificateChain)
peerCertificateChain
- the peer certificate chain to use (must not be null
)public X500Principal getPrincipal()
Principal
represented by the first certificate in the chain.getPrincipal
in interface Evidence
Principal
represented by the first certificate in the chain.public X509Certificate[] getPeerCertificateChain()
null
)public String getAlgorithm()
getAlgorithm
in interface AlgorithmEvidence
null
)public X509Certificate getFirstCertificate()
public X509Certificate getLastCertificate()
Copyright © 2020 JBoss by Red Hat. All rights reserved.