public class CertOrEncCert
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.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() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedKey
}
|
public 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 org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
CertOrEncCert ::= CHOICE { certificate [0] CMPCertificate, encryptedCert [1] EncryptedKey }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object