public class EncryptionInfo extends ASN1Object
1988 ASN.1 EncryptionInfo
EncryptionInfo ::= SEQUENCE { encryptionInfoType OBJECT IDENTIFIER, encryptionInfoValue ANY DEFINED BY encryptionInfoType }
1997-ASN.1 EncryptionInfo
EncryptionInfo ::= SEQUENCE { encryptionInfoType ENCINFO-TYPE.&id ({SupportedEncryptionAlgorithms}), encryptionInfoValue ENCINFO-TYPE.&Type ({SupportedEncryptionAlgorithms}) }
ENCINFO-TYPE ::= TYPE-IDENTIFIER
SupportedEncryptionAlgorithms ENCINFO-TYPE ::= {...}
Constructor and Description |
---|
EncryptionInfo(ASN1ObjectIdentifier encryptionInfoType,
ASN1Encodable encryptionInfoValue) |
Modifier and Type | Method and Description |
---|---|
static EncryptionInfo |
getInstance(ASN1Object obj) |
static EncryptionInfo |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public EncryptionInfo(ASN1ObjectIdentifier encryptionInfoType, ASN1Encodable encryptionInfoValue)
public static EncryptionInfo getInstance(ASN1Object obj)
public static EncryptionInfo getInstance(ASN1TaggedObject obj, boolean explicit)
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2021 BouncyCastle.org. All rights reserved.