public class EncryptionKey
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
Modifier and Type | Field and Description |
---|---|
static int |
publicOption |
static int |
symmetric |
Constructor and Description |
---|
EncryptionKey(int choice,
org.bouncycastle.asn1.ASN1Encodable value) |
Modifier and Type | Method and Description |
---|---|
int |
getChoice() |
org.bouncycastle.asn1.ASN1Encodable |
getEncryptionKey() |
static EncryptionKey |
getInstance(java.lang.Object o) |
static EncryptionKey |
publicOption(PublicEncryptionKey key) |
static EncryptionKey |
symmetric(SymmetricEncryptionKey key) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public static final int publicOption
public static final int symmetric
public EncryptionKey(int choice, org.bouncycastle.asn1.ASN1Encodable value)
public static EncryptionKey getInstance(java.lang.Object o)
public static EncryptionKey publicOption(PublicEncryptionKey key)
public static EncryptionKey symmetric(SymmetricEncryptionKey key)
public int getChoice()
public org.bouncycastle.asn1.ASN1Encodable getEncryptionKey()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object