public class CrossCertificatePair
extends java.lang.Object
| Constructor and Description |
|---|
CrossCertificatePair(byte[] data)
Constructor specifying the data where to read the cross certificate(s)
from.
|
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getForwardCertificate()
Returns the forward cross certificate.
|
X509Certificate |
getReverseCertificate()
Returns the reverse cross certificate.
|
public CrossCertificatePair(byte[] data)
throws java.security.cert.CertificateException
data - the byte array containing the certificate pair as read from the
X.500 directoryjava.security.cert.CertificateEncodingException - if the ASN.1 encoding of the certificate pair is incorrectjava.security.cert.CertificateExceptionpublic X509Certificate getForwardCertificate()
public X509Certificate getReverseCertificate()