public class CertOrEncCert extends ASN1Object implements ASN1Choice
Modifier and Type | Field and Description |
---|---|
private CMPCertificate |
certificate |
private EncryptedValue |
encryptedCert |
Modifier | Constructor and Description |
---|---|
private |
CertOrEncCert(ASN1TaggedObject tagged) |
|
CertOrEncCert(CMPCertificate certificate) |
|
CertOrEncCert(EncryptedValue encryptedCert) |
Modifier and Type | Method and Description |
---|---|
CMPCertificate |
getCertificate() |
EncryptedValue |
getEncryptedCert() |
static CertOrEncCert |
getInstance(Object o) |
ASN1Primitive |
toASN1Primitive()
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedValue
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private CMPCertificate certificate
private EncryptedValue encryptedCert
private CertOrEncCert(ASN1TaggedObject tagged)
public CertOrEncCert(CMPCertificate certificate)
public CertOrEncCert(EncryptedValue encryptedCert)
public static CertOrEncCert getInstance(Object o)
public CMPCertificate getCertificate()
public EncryptedValue getEncryptedCert()
public ASN1Primitive toASN1Primitive()
CertOrEncCert ::= CHOICE { certificate [0] CMPCertificate, encryptedCert [1] EncryptedValue }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object