Package org.bouncycastle.asn1.tsp
Class EncryptionInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.tsp.EncryptionInfo
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class EncryptionInfo
extends org.bouncycastle.asn1.ASN1Object
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
ConstructorDescriptionEncryptionInfo
(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionInfoType, org.bouncycastle.asn1.ASN1Encodable encryptionInfoValue) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
org.bouncycastle.asn1.ASN1Encodable
static EncryptionInfo
getInstance
(Object obj) static EncryptionInfo
getInstance
(org.bouncycastle.asn1.ASN1Object obj) Deprecated.static EncryptionInfo
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
EncryptionInfo
public EncryptionInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionInfoType, org.bouncycastle.asn1.ASN1Encodable encryptionInfoValue)
-
-
Method Details
-
getInstance
Deprecated.UsegetInstance(Object)
instead. -
getInstance
-
getInstance
public static EncryptionInfo getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) -
getEncryptionInfoType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getEncryptionInfoType() -
getEncryptionInfoValue
public org.bouncycastle.asn1.ASN1Encodable getEncryptionInfoValue() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getInstance(Object)
instead.