Top Description Fields Constructors Methods
org.bouncycastle.oer.its.ieee1609dot2.basetypes

public Class EncryptionKey

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1TaggedObject, .BERTags, .DERTaggedObject

EncryptionKey ::= CHOICE { public PublicEncryptionKey, symmetric SymmetricEncryptionKey }

Field Summary

Modifier and TypeField and Description
private final int
private final ASN1Encodable
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public
EncryptionKey(int choice, ASN1Encodable value)

private

Method Summary

Modifier and TypeMethod and Description
public int
public ASN1Encodable
public static EncryptionKey
public static EncryptionKey
public static EncryptionKey
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

choiceback to summary
private final int choice
encryptionKeyback to summary
private final ASN1Encodable encryptionKey
publicOptionback to summary
public static final int publicOption
symmetricback to summary
public static final int symmetric

Constructor Detail

EncryptionKeyback to summary
public EncryptionKey(int choice, ASN1Encodable value)
EncryptionKeyback to summary
private EncryptionKey(ASN1TaggedObject value)

Method Detail

getChoiceback to summary
public int getChoice()
getEncryptionKeyback to summary
public ASN1Encodable getEncryptionKey()
getInstanceback to summary
public static EncryptionKey getInstance(Object o)
publicOptionback to summary
public static EncryptionKey publicOption(PublicEncryptionKey key)
symmetricback to summary
public static EncryptionKey symmetric(SymmetricEncryptionKey key)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

Annotations
@Override