|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.x509.X509CertificatePair
public class X509CertificatePair
This class contains a cross certificate pair. Cross certificates pairs may contain two cross signed certificates from two CAs. A certificate from the other CA to this CA is contained in the forward certificate, the certificate from this CA to the other CA is contained in the reverse certificate.
| Constructor Summary | |
|---|---|
X509CertificatePair(CertificatePair pair)
Constructor from a ASN.1 CertificatePair structure. |
|
X509CertificatePair(java.security.cert.X509Certificate forward,
java.security.cert.X509Certificate reverse)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
byte[] |
getEncoded()
|
java.security.cert.X509Certificate |
getForward()
Returns the certificate from the other CA to this CA. |
java.security.cert.X509Certificate |
getReverse()
Return the certificate from this CA to the other CA. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509CertificatePair(java.security.cert.X509Certificate forward,
java.security.cert.X509Certificate reverse)
forward - Certificate from the other CA to this CA.reverse - Certificate from this CA to the other CA.
public X509CertificatePair(CertificatePair pair)
throws java.security.cert.CertificateParsingException
pair - The CertificatePair ASN.1 object.
java.security.cert.CertificateParsingException| Method Detail |
|---|
public byte[] getEncoded()
throws java.security.cert.CertificateEncodingException
java.security.cert.CertificateEncodingExceptionpublic java.security.cert.X509Certificate getForward()
public java.security.cert.X509Certificate getReverse()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||