| java.lang.Object | |
| ↳ | sun.security.pkcs.ContentInfo |
A ContentInfo type, as defined in PKCS#7.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DATA_OID | |||||||||||
| DIGESTED_DATA_OID | |||||||||||
| ENCRYPTED_DATA_OID | |||||||||||
| ENVELOPED_DATA_OID | |||||||||||
| NETSCAPE_CERT_SEQUENCE_OID | |||||||||||
| OLD_DATA_OID | |||||||||||
| OLD_SIGNED_DATA_OID | |||||||||||
| PKCS7_OID | |||||||||||
| SIGNED_AND_ENVELOPED_DATA_OID | |||||||||||
| SIGNED_DATA_OID | |||||||||||
| TIMESTAMP_TOKEN_INFO_OID | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Make a contentInfo of type data.
| |||||||||||
Parses a PKCS#7 content info.
| |||||||||||
Parses a PKCS#7 content info.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a byte array representation of the data held in
the content field.
| |||||||||||
Returns a string representation of the object.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Make a contentInfo of type data.
Parses a PKCS#7 content info.
| IOException | |
|---|---|
| ParsingException |
Parses a PKCS#7 content info.
This constructor is used only for backwards compatibility with PKCS#7 blocks that were generated using JDK1.1.x.
| derin | the ASN.1 encoding of the content info. |
|---|---|
| oldStyle | flag indicating whether or not the given content info is encoded according to JDK1.1.x. |
| IOException | |
|---|---|
| ParsingException |
Returns a byte array representation of the data held in the content field.
| IOException |
|---|
Returns a string representation of the object. In general, the
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())