FileDocCategorySizeDatePackage
AuthenticatedAttributes.javaAPI DocAndroid 1.5 API2272Wed May 06 22:41:06 BST 2009org.apache.harmony.security.pkcs7

AuthenticatedAttributes

public class AuthenticatedAttributes extends Object
As defined in PKCS #7: Cryptographic Message Syntax Standard (http://www.ietf.org/rfc/rfc2315.txt): authenticatedAttributes is a set of attributes that are signed (i.e., authenticated) by the signer

Fields Summary
private byte[]
encoding
private List
authenticatedAttributes
public static final org.apache.harmony.security.asn1.ASN1SetOf
ASN1
Constructors Summary
public AuthenticatedAttributes(byte[] encoding, List authenticatedAttributes)

        this.encoding = encoding;
        this.authenticatedAttributes = authenticatedAttributes;
    
Methods Summary
public java.util.ListgetAttributes()

        return authenticatedAttributes;
    
public byte[]getEncoded()
Returns ASN.1 encoded form of this authenticatedAttributes.

return
a byte array containing ASN.1 encode form.

        if (encoding == null) {
            encoding = ASN1.encode(this);
        }
        return encoding;