public class EncryptedContentInfo extends ASN1Object
EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }
Constructor and Description |
---|
EncryptedContentInfo(ASN1ObjectIdentifier contentType,
AlgorithmIdentifier contentEncryptionAlgorithm,
ASN1OctetString encryptedContent) |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getContentEncryptionAlgorithm() |
ASN1ObjectIdentifier |
getContentType() |
ASN1OctetString |
getEncryptedContent() |
static EncryptedContentInfo |
getInstance(java.lang.Object obj)
Return an EncryptedContentInfo object from the given object.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public EncryptedContentInfo(ASN1ObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, ASN1OctetString encryptedContent)
public static EncryptedContentInfo getInstance(java.lang.Object obj)
Accepted inputs:
EncryptedContentInfo
object
ASN1Sequence
input formats
obj
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public ASN1ObjectIdentifier getContentType()
public AlgorithmIdentifier getContentEncryptionAlgorithm()
public ASN1OctetString getEncryptedContent()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object