Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.asn1.cms;
 
 
Parser for RFC 5652 EncryptedContentInfo object.

 EncryptedContentInfo ::= SEQUENCE {
     contentType ContentType,
     contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
     encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL 
 }
 
    private ASN1ObjectIdentifier    _contentType;
        ASN1SequenceParser  seq
        throws IOException
    {
         = (ASN1ObjectIdentifier)seq.readObject();
         = AlgorithmIdentifier.getInstance(seq.readObject().toASN1Primitive());
    }
    
    {
        return ;
    }
    
    {
        return ;
    }
        int  tag
        throws IOException
    {
        return .getObjectParser(tagfalse);
    }
New to GrepCode? Check out our FAQ X