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

public Class SymmetricEncryptionKey

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

SymmetricEncryptionKey ::= CHOICE { aes128Ccm OCTET STRING(SIZE(16)), ... }

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static SymmetricEncryptionKey
aes128ccm(byte[] octetString)

public static SymmetricEncryptionKey
public int
public static SymmetricEncryptionKey
public ASN1Encodable
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

aes128ccmback to summary
public static final int aes128ccm
choiceback to summary
private final int choice
symmetricEncryptionKeyback to summary
private final ASN1Encodable symmetricEncryptionKey

Constructor Detail

SymmetricEncryptionKeyback to summary
public SymmetricEncryptionKey(int choice, ASN1Encodable value)
SymmetricEncryptionKeyback to summary
private SymmetricEncryptionKey(ASN1TaggedObject instance)

Method Detail

aes128ccmback to summary
public static SymmetricEncryptionKey aes128ccm(byte[] octetString)
aes128ccmback to summary
public static SymmetricEncryptionKey aes128ccm(ASN1OctetString octetString)
getChoiceback to summary
public int getChoice()
getInstanceback to summary
public static SymmetricEncryptionKey getInstance(Object o)
getSymmetricEncryptionKeyback to summary
public ASN1Encodable getSymmetricEncryptionKey()
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