| java.lang.Object | |
| ↳ | sun.security.x509.CertificateExtensions |
This class defines the Extensions attribute for the Certificate.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | IDENT | Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. | |||||||||
| String | NAME | name | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Create the object, decoding the values from the passed DER stream.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Encode the extensions in DER form to the stream, setting
the context specific tag as needed in the X.509 v3 certificate.
| |||||||||||
Encode the extensions in DER form to the stream.
| |||||||||||
Compares this CertificateExtensions for equality with the specified
object.
| |||||||||||
Get the attribute value.
| |||||||||||
Return a collection view of the extensions.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Return true if a critical extension is found that is
not supported, otherwise return false.
| |||||||||||
Returns a hashcode value for this CertificateExtensions.
| |||||||||||
Set the attribute value.
| |||||||||||
Returns a string representation of this CertificateExtensions
object in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
sun.security.x509.CertAttrSet
| |||||||||||
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
Default constructor.
Create the object, decoding the values from the passed DER stream.
| in | the DerInputStream to read the Extension from. |
|---|
| IOException | on decoding errors. |
|---|
Delete the attribute value.
| name | the extension name used in the lookup. |
|---|
| IOException | if named extension is not found. |
|---|
Encode the extensions in DER form to the stream, setting the context specific tag as needed in the X.509 v3 certificate.
| out | the DerOutputStream to marshal the contents to. |
|---|
| CertificateException | on encoding errors. |
|---|---|
| IOException | on errors. |
Encode the extensions in DER form to the stream.
| out | the DerOutputStream to marshal the contents to. |
|---|---|
| isCertReq | if true then no context specific tag is added. |
| CertificateException | on encoding errors. |
|---|---|
| IOException | on errors. |
Compares this CertificateExtensions for equality with the specified
object. If the other object is an
instanceof CertificateExtensions, then
all the entries are compared with the entries from this.
| other | the object to test for equality with this CertificateExtensions. |
|---|
Get the attribute value.
| name | the extension name used in the lookup. |
|---|
| IOException | if named extension is not found. |
|---|
Return a collection view of the extensions.
Return an enumeration of names of attributes existing within this attribute.
Return true if a critical extension is found that is not supported, otherwise return false.
Returns a hashcode value for this CertificateExtensions.
Set the attribute value.
| name | the extension name used in the cache. |
|---|---|
| obj | the object to set. |
| IOException | if the object could not be cached. |
|---|
Returns a string representation of this CertificateExtensions object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space).
Overrides to toString method of Object.