Class EncryptedContentInfoParser

java.lang.Object
org.bouncycastle.asn1.cms.EncryptedContentInfoParser

public class EncryptedContentInfoParser extends Object
Parser for RFC 5652 EncryptedContentInfo object.

EncryptedContentInfo ::= SEQUENCE {
    contentType ContentType,
    contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
    encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL 
}
  • Constructor Details

    • EncryptedContentInfoParser

      public EncryptedContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq) throws IOException
      Throws:
      IOException
  • Method Details

    • getContentType

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
    • getContentEncryptionAlgorithm

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getContentEncryptionAlgorithm()
    • getEncryptedContent

      public org.bouncycastle.asn1.ASN1Encodable getEncryptedContent(int tag) throws IOException
      Throws:
      IOException