Class ContentInfo
java.lang.Object
org.apache.harmony.security.pkcs7.ContentInfo
public final class ContentInfo extends Object
As defined in PKCS #7: Cryptographic Message Syntax Standard
(http://www.ietf.org/rfc/rfc2315.txt)
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL
}
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1static int[]DATAstatic int[]DIGESTED_DATAstatic int[]ENCRYPTED_DATAstatic int[]ENVELOPED_DATAstatic int[]SIGNED_AND_ENVELOPED_DATAstatic int[]SIGNED_DATA -
Method Summary
Modifier and Type Method Description ObjectgetContent()int[]getContentType()byte[]getEncoded()SignedDatagetSignedData()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
Field Details
-
DATA
public static final int[] DATA -
SIGNED_DATA
public static final int[] SIGNED_DATA -
ENVELOPED_DATA
public static final int[] ENVELOPED_DATA -
SIGNED_AND_ENVELOPED_DATA
public static final int[] SIGNED_AND_ENVELOPED_DATA -
DIGESTED_DATA
public static final int[] DIGESTED_DATA -
ENCRYPTED_DATA
public static final int[] ENCRYPTED_DATA -
ASN1
-
-
Method Details
-
getSignedData
-
getContent
-
getContentType
public int[] getContentType() -
getEncoded
public byte[] getEncoded() -
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-