public class CertificatePair extends ASN1Object
| Constructor and Description |
|---|
CertificatePair(Certificate forward,
Certificate reverse)
Constructor from a given details.
|
| Modifier and Type | Method and Description |
|---|---|
Certificate |
getForward() |
static CertificatePair |
getInstance(java.lang.Object obj) |
Certificate |
getReverse() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic CertificatePair(Certificate forward, Certificate reverse)
forward - Certificates issued to this CA.reverse - Certificates issued by this CA to other CAs.public static CertificatePair getInstance(java.lang.Object obj)
public ASN1Primitive toASN1Primitive()
Returns: CertificatePair ::= SEQUENCE { forward [0] Certificate OPTIONAL, reverse [1] Certificate OPTIONAL, -- at least one of the pair shall be present -- }
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Objectpublic Certificate getForward()
public Certificate getReverse()