Class EncryptionKey
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.basetypes.EncryptionKey
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice,org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class EncryptionKey
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
EncryptionKey ::= CHOICE {
public PublicEncryptionKey,
symmetric SymmetricEncryptionKey
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.bouncycastle.asn1.ASN1Encodablestatic EncryptionKeystatic EncryptionKeystatic EncryptionKeyorg.bouncycastle.asn1.ASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
publicOption
public static final int publicOption- See Also:
-
symmetric
public static final int symmetric- See Also:
-
-
Constructor Details
-
EncryptionKey
public EncryptionKey(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
-
Method Details
-
getInstance
-
publicOption
-
symmetric
-
getChoice
public int getChoice() -
getEncryptionKey
public org.bouncycastle.asn1.ASN1Encodable getEncryptionKey() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-