FileDocCategorySizeDatePackage
AuthenticatedSafe.javaAPI DocAzureus 3.0.3.41015Tue Jun 08 05:12:58 BST 2004org.bouncycastle.asn1.pkcs

AuthenticatedSafe

public class AuthenticatedSafe extends Object implements org.bouncycastle.asn1.DEREncodable

Fields Summary
ContentInfo[]
info
Constructors Summary
public AuthenticatedSafe(org.bouncycastle.asn1.ASN1Sequence seq)

        info = new ContentInfo[seq.size()];

        for (int i = 0; i != info.length; i++)
        {
            info[i] = ContentInfo.getInstance(seq.getObjectAt(i));
        }
    
public AuthenticatedSafe(ContentInfo[] info)

        this.info = info;
    
Methods Summary
public ContentInfo[]getContentInfo()

        return info;
    
public org.bouncycastle.asn1.DERObjectgetDERObject()

        ASN1EncodableVector  v = new ASN1EncodableVector();

        for (int i = 0; i != info.length; i++)
        {
            v.add(info[i]);
        }

        return new BERSequence(v);