| java.lang.Object | |
| ↳ | sun.security.pkcs.PKCS9Attributes |
A set of attributes of class PKCS9Attribute.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a set of PKCS9 Attributes from its
DER encoding on a DerInputStream, accepting only attributes
with OIDs on the given
list.
| |||||||||||
Construct a set of PKCS9 Attributes from the contents of its
DER encoding on a DerInputStream.
| |||||||||||
Construct a set of PKCS9 Attributes from the contents of its
DER encoding on a DerInputStream.
| |||||||||||
Construct a set of PKCS9 Attributes from the given array of
PKCS9 attributes.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Put the DER encoding of this PKCS9 attribute set on an
DerOutputStream, tagged with the given implicit tag.
| |||||||||||
Get an attribute from this set.
| |||||||||||
Get an attribute from this set.
| |||||||||||
Get an attribute value by type name.
| |||||||||||
Get an attribute value by OID.
| |||||||||||
Get an array of all attributes in this set, in order of OID.
| |||||||||||
Return the DER encoding of this attribute set, tagged with
DerValue.tag_SetOf.
| |||||||||||
Returns the PKCS9 block in a printable string form.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Construct a set of PKCS9 Attributes from its DER encoding on a DerInputStream, accepting only attributes with OIDs on the given list. If the array is null, accept all attributes supported by class PKCS9Attribute.
| permittedAttributes | Array of attribute OIDs that will be accepted. |
|---|---|
| in | the contents of the DER encoding of the attribute set. |
| IOException | on i/o error, encoding syntax error, unacceptable or unsupported attribute, or duplicate attribute. |
|---|
Construct a set of PKCS9 Attributes from the contents of its DER encoding on a DerInputStream. Accept all attributes supported by class PKCS9Attribute and reject any unsupported attributes.
| in | the contents of the DER encoding of the attribute set. |
|---|
| IOException | on i/o error, encoding syntax error, or unsupported or duplicate attribute. |
|---|
Construct a set of PKCS9 Attributes from the contents of its DER encoding on a DerInputStream. Accept all attributes supported by class PKCS9Attribute and ignore any unsupported attributes, if directed.
| in | the contents of the DER encoding of the attribute set. |
|---|---|
| ignoreUnsupportedAttributes | If true then any attributes not supported by the PKCS9Attribute class are ignored. Otherwise unsupported attributes cause an exception to be thrown. |
| IOException | on i/o error, encoding syntax error, or unsupported or duplicate attribute. |
|---|
Construct a set of PKCS9 Attributes from the given array of
PKCS9 attributes.
DER encoding on a DerInputStream. All attributes in
attribs must be
supported by class PKCS9Attribute.
| IOException | on i/o error, encoding syntax error, or unsupported or duplicate attribute. |
|---|---|
| IllegalArgumentException |
Put the DER encoding of this PKCS9 attribute set on an DerOutputStream, tagged with the given implicit tag.
| tag | the implicit tag to use in the DER encoding. |
|---|---|
| out | the output stream on which to put the DER encoding. |
| IOException | on output error. |
|---|
Get an attribute value by type name.
| IOException |
|---|
Get an attribute value by OID.
| IOException |
|---|
Get an array of all attributes in this set, in order of OID.
Return the DER encoding of this attribute set, tagged with DerValue.tag_SetOf.
| IOException |
|---|
Returns the PKCS9 block in a printable string form.