| java.lang.Object | ||
| ↳ | sun.security.x509.Extension | |
| ↳ | sun.security.x509.IssuerAlternativeNameExtension | |
This represents the Issuer Alternative Name Extension. This extension, if present, allows the issuer to specify multiple alternative names.
Extensions are represented as a sequence of the extension identifier (Object Identifier), a boolean flag stating whether the extension is to be treated as being critical and the extension value itself (this is again a DER encoding of the extension value).
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | IDENT | Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. | |||||||||
| String | ISSUER_NAME | ||||||||||
| String | NAME | Attribute names. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.security.x509.Extension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a IssuerAlternativeNameExtension with the passed GeneralNames.
| |||||||||||
Create a default IssuerAlternativeNameExtension.
| |||||||||||
Create the extension from the passed DER encoded value.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Write the extension to the OutputStream.
| |||||||||||
Get the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Set the attribute value.
| |||||||||||
Returns a printable representation of the IssuerAlternativeName.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.security.x509.Extension
| |||||||||||
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.
Create a IssuerAlternativeNameExtension with the passed GeneralNames.
| names | the GeneralNames for the issuer. |
|---|
| IOException | on error. |
|---|
Create a default IssuerAlternativeNameExtension.
Create the extension from the passed DER encoded value.
| critical | true if the extension is to be treated as critical. |
|---|---|
| value | an array of DER encoded bytes of the actual value. |
| ClassCastException | if value is not an array of bytes |
|---|---|
| IOException | on error. |
Write the extension to the OutputStream.
| out | the OutputStream to write the extension to. |
|---|
| IOException | on encoding error. |
|---|
Return an enumeration of names of attributes existing within this attribute.
Set the attribute value.
| name | the name of the attribute (e.g. "x509.info.key") |
|---|---|
| obj | the attribute object. |
| IOException |
|---|
Returns a printable representation of the IssuerAlternativeName.