| java.lang.Object org.apache.harmony.security.x509.ExtensionValue org.apache.harmony.security.x509.AlternativeName
AlternativeName | public class AlternativeName extends ExtensionValue (Code) | | This class implements the values of Subject Alternative Name
(OID is 2.5.29.17) and Issuer Alternative Name extensions
(OID is 2.5.29.18).
For more information about these extensions see RFC 3280
at http://www.ietf.org/rfc/rfc3280.txt
|
Field Summary | |
final public static boolean | ISSUER | final public static boolean | SUBJECT |
Constructor Summary | |
public | AlternativeName(boolean which, GeneralNames alternativeNames) Creates the extension object for given alternative names. | public | AlternativeName(boolean which, byte[] encoding) Creates the extension object on the base of its encoded form. |
Method Summary | |
public void | dumpValue(StringBuffer buffer, String prefix) Places the string representation of extension value
into the StringBuffer object. | public List | getAlternativeNames() Returns the list of alternative names. | public byte[] | getEncoded() Returns ASN.1 encoded form of this X.509 AlternativeName value. |
ISSUER | final public static boolean ISSUER(Code) | | |
SUBJECT | final public static boolean SUBJECT(Code) | | |
AlternativeName | public AlternativeName(boolean which, GeneralNames alternativeNames)(Code) | | Creates the extension object for given alternative names.
Parameters: which - specifies which alternative names are given(Subject's or Issuer's) |
AlternativeName | public AlternativeName(boolean which, byte[] encoding) throws IOException(Code) | | Creates the extension object on the base of its encoded form.
Parameters: which - specifies which alternative names are given(Subject's or Issuer's) |
dumpValue | public void dumpValue(StringBuffer buffer, String prefix)(Code) | | Places the string representation of extension value
into the StringBuffer object.
|
getAlternativeNames | public List getAlternativeNames()(Code) | | Returns the list of alternative names.
The list is in the collection of pairs:
[Integer (tag of GeneralName), Object (name value)]
|
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this X.509 AlternativeName value.
a byte array containing ASN.1 encode form. |
Fields inherited from org.apache.harmony.security.x509.ExtensionValue | protected byte[] encoding(Code)(Java Doc)
|
|
|