|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.asn1.ASN1Object | +--org.bouncycastle.asn1.tsp.EncryptionInfo
Implementation of the EncryptionInfo element defined in RFC 4998:
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}{@encryptionInfoType}) }
ENCINFO-TYPE ::= TYPE-IDENTIFIER
SupportedEncryptionAlgorithms ENCINFO-TYPE ::= {[]}
Constructor Summary | |
EncryptionInfo(ASN1ObjectIdentifier encryptionInfoType,
ASN1Encodable encryptionInfoValue)
|
Method Summary | |
ASN1ObjectIdentifier |
getEncryptionInfoType()
|
ASN1Encodable |
getEncryptionInfoValue()
|
static EncryptionInfo |
getInstance(ASN1Object obj)
Deprecated. Use getInstance(Object) instead. |
static EncryptionInfo |
getInstance(ASN1TaggedObject obj,
boolean explicit)
|
static EncryptionInfo |
getInstance(java.lang.Object obj)
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncryptionInfo(ASN1ObjectIdentifier encryptionInfoType, ASN1Encodable encryptionInfoValue)
Method Detail |
public static EncryptionInfo getInstance(ASN1Object obj)
getInstance(Object)
instead.
public static EncryptionInfo getInstance(java.lang.Object obj)
public static EncryptionInfo getInstance(ASN1TaggedObject obj, boolean explicit)
public ASN1ObjectIdentifier getEncryptionInfoType()
public ASN1Encodable getEncryptionInfoValue()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in class ASN1Object
org.bouncycastle.asn1.ASN1Object
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |