| sun.security.x509.CertAttrSet
All known Subclasses: sun.security.x509.KeyUsageExtension, sun.security.x509.NameConstraintsExtension, sun.security.x509.NetscapeCertTypeExtension, sun.security.x509.CRLNumberExtension, sun.security.x509.CertificateSubjectName, sun.security.x509.CertificateSerialNumber, sun.security.x509.CertificateValidity, sun.security.x509.X509CertInfo, sun.security.x509.SubjectAlternativeNameExtension, sun.security.x509.CertificateExtensions, sun.security.x509.CRLReasonCodeExtension, sun.security.x509.CertificateSubjectUniqueIdentity, sun.security.x509.CertificateIssuerUniqueIdentity, sun.security.x509.CertificateIssuerName, sun.security.x509.AuthorityKeyIdentifierExtension, sun.security.x509.IssuerAlternativeNameExtension, sun.security.x509.PolicyMappingsExtension, sun.security.x509.SubjectKeyIdentifierExtension, sun.security.x509.CertificateAlgorithmId, sun.security.x509.CertificateX509Key, sun.security.x509.CertificateVersion, sun.security.x509.ExtendedKeyUsageExtension, sun.security.x509.BasicConstraintsExtension, sun.security.x509.PrivateKeyUsageExtension, sun.security.x509.PolicyConstraintsExtension,
CertAttrSet | public interface CertAttrSet (Code) | | 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.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.14 See Also: CertificateException |
Method Summary | |
void | decode(InputStream in) Decodes the attribute in the input stream. | void | delete(String name) Deletes an attribute value from this CertAttrSet. | void | encode(OutputStream out) Encodes the attribute to the output stream in a format
that can be parsed by the decode method. | Object | get(String name) Gets an attribute value for this CertAttrSet. | Enumeration | getElements() Returns an enumeration of the names of the attributes existing within
this attribute. | String | getName() Returns the name (identifier) of this CertAttrSet. | void | set(String name, Object obj) Sets an attribute value within this CertAttrSet.
Parameters: name - the name of the attribute (e.g. | String | toString() Returns a short string describing this certificate attribute. |
getElements | Enumeration getElements()(Code) | | Returns an enumeration of the names of the attributes existing within
this attribute.
an enumeration of the attribute names. |
getName | String getName()(Code) | | Returns the name (identifier) of this CertAttrSet.
the name of this CertAttrSet. |
toString | String toString()(Code) | | Returns a short string describing this certificate attribute.
value of this certificate attribute inprintable form. |
|
|