FileDocCategorySizeDatePackage
AuthenticatedSafe.javaAPI DocAndroid 1.5 API1014Wed May 06 22:41:06 BST 2009org.bouncycastle.asn1.pkcs

AuthenticatedSafe

public class AuthenticatedSafe extends org.bouncycastle.asn1.ASN1Encodable

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.DERObjecttoASN1Object()

        ASN1EncodableVector  v = new ASN1EncodableVector();

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

        return new BERSequence(v);