public class CertOrEncCert extends ASN1Object implements ASN1Choice
| Constructor and Description |
|---|
CertOrEncCert(CMPCertificate certificate) |
CertOrEncCert(EncryptedKey encryptedKey) |
CertOrEncCert(EncryptedValue encryptedValue) |
| Modifier and Type | Method and Description |
|---|---|
CMPCertificate |
getCertificate() |
EncryptedKey |
getEncryptedCert() |
static CertOrEncCert |
getInstance(java.lang.Object o) |
boolean |
hasEncryptedCertificate() |
ASN1Primitive |
toASN1Primitive()
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedKey
}
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic CertOrEncCert(CMPCertificate certificate)
public CertOrEncCert(EncryptedValue encryptedValue)
public CertOrEncCert(EncryptedKey encryptedKey)
public static CertOrEncCert getInstance(java.lang.Object o)
public boolean hasEncryptedCertificate()
public CMPCertificate getCertificate()
public EncryptedKey getEncryptedCert()
public ASN1Primitive toASN1Primitive()
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedKey
}
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object