| java.lang.Object sun.security.x509.Extension sun.security.x509.IssuerAlternativeNameExtension
IssuerAlternativeNameExtension | public class IssuerAlternativeNameExtension extends Extension implements CertAttrSet(Code) | | 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).
author: Amit Kapoor author: Hemma Prafullchandra version: 1.12 See Also: Extension See Also: CertAttrSet |
IDENT | final public static String IDENT(Code) | | Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type.
|
IssuerAlternativeNameExtension | public IssuerAlternativeNameExtension(GeneralNames names) throws IOException(Code) | | Create a IssuerAlternativeNameExtension with the passed GeneralNames.
Parameters: names - the GeneralNames for the issuer. exception: IOException - on error. |
IssuerAlternativeNameExtension | public IssuerAlternativeNameExtension()(Code) | | Create a default IssuerAlternativeNameExtension.
|
IssuerAlternativeNameExtension | public IssuerAlternativeNameExtension(Boolean critical, Object value) throws IOException(Code) | | Create the extension from the passed DER encoded value.
Parameters: critical - true if the extension is to be treated as critical. Parameters: value - Array of DER encoded bytes of the actual value. exception: IOException - on error. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the extension from the InputStream.
Parameters: in - the InputStream to unmarshal the contents from. exception: IOException - on decoding or validity errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Write the extension to the OutputStream.
Parameters: out - the OutputStream to write the extension to. exception: IOException - on encoding error. |
getElements | public Enumeration getElements()(Code) | | Return an enumeration of names of attributes existing within this
attribute.
|
getName | public String getName()(Code) | | Return the name of this attribute.
|
toString | public String toString()(Code) | | Returns a printable representation of the IssuerAlternativeName.
|
|
|