ASN1Choice
, ASN1Encodable
, Encodable
public class CertOrEncCert extends ASN1Object implements ASN1Choice
Constructor | Description |
---|---|
CertOrEncCert(CMPCertificate certificate) |
|
CertOrEncCert(EncryptedValue encryptedCert) |
Modifier and Type | Method | Description |
---|---|---|
CMPCertificate |
getCertificate() |
|
EncryptedValue |
getEncryptedCert() |
|
static CertOrEncCert |
getInstance(java.lang.Object o) |
|
ASN1Primitive |
toASN1Primitive() |
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedValue
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public CertOrEncCert(CMPCertificate certificate)
public CertOrEncCert(EncryptedValue encryptedCert)
public static CertOrEncCert getInstance(java.lang.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