sun.security.x509.CertAttrSet<T> |
This interface defines the methods required of a certificate attribute. Examples of X.509 certificate attributes are Validity, Issuer_Name, and Subject Name. A CertAttrSet may comprise one attribute or many attributes.
A CertAttrSet itself can also be comprised of other sub-sets. In the case of X.509 V3 certificates, for example, the "extensions" attribute has subattributes, such as those for KeyUsage and AuthorityKeyIdentifier.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Deletes an attribute value from this CertAttrSet.
| |||||||||||
Encodes the attribute to the output stream in a format
that can be parsed by the
decode method. | |||||||||||
Gets an attribute value for this CertAttrSet.
| |||||||||||
Returns an enumeration of the names of the attributes existing within
this attribute.
| |||||||||||
Returns the name (identifier) of this CertAttrSet.
| |||||||||||
Sets an attribute value within this CertAttrSet.
| |||||||||||
Returns a short string describing this certificate attribute.
|
Deletes an attribute value from this CertAttrSet.
name | the name of the attribute to delete. |
---|
CertificateException | on attribute handling errors. |
---|---|
IOException | on other errors. |
Encodes the attribute to the output stream in a format
that can be parsed by the decode
method.
out | the OutputStream to encode the attribute to. |
---|
CertificateException | on encoding or validity errors. |
---|---|
IOException | on other errors. |
Gets an attribute value for this CertAttrSet.
name | the name of the attribute to return. |
---|
CertificateException | on attribute handling errors. |
---|---|
IOException | on other errors. |
Returns an enumeration of the names of the attributes existing within this attribute.
Returns the name (identifier) of this CertAttrSet.
Sets an attribute value within this CertAttrSet.
name | the name of the attribute (e.g. "x509.info.key") |
---|---|
obj | the attribute object. |
CertificateException | on attribute handling errors. |
---|---|
IOException | on other errors. |
Returns a short string describing this certificate attribute.