![]() |
|
Contents |
For more information about these extensions see RFC 3280 at http://www.ietf.org/rfc/rfc3280.txt
Public Member Functions | |
| AlternativeName (boolean which, GeneralNames alternativeNames) | |
| Creates the extension object for given alternative names. | |
| AlternativeName (boolean which, byte[] encoding) throws IOException | |
| Creates the extension object on the base of its encoded form. | |
| List | getAlternativeNames () |
| Returns the list of alternative names. | |
| byte[] | getEncoded () |
| Returns ASN.1 encoded form of this X.509 AlternativeName value. | |
| void | dumpValue (StringBuffer buffer, String prefix) |
| Places the string representation of extension value into the StringBuffer object. | |
Static Public Attributes | |
| static final boolean | ISSUER = false |
| static final boolean | SUBJECT = true |
Private Attributes | |
| boolean | which |
| GeneralNames | alternativeNames |
| AlternativeName | ( | boolean | which, | |
| GeneralNames | alternativeNames | |||
| ) |
Creates the extension object for given alternative names.
| which | specifies which alternative names are given (Subject's or Issuer's) |
| AlternativeName | ( | boolean | which, | |
| byte[] | encoding | |||
| ) | throws IOException |
Creates the extension object on the base of its encoded form.
| which | specifies which alternative names are given (Subject's or Issuer's) |
| List getAlternativeNames | ( | ) |
Returns the list of alternative names.
The list is in the collection of pairs:
[Integer (tag of GeneralName), Object (name value)]
| byte [] getEncoded | ( | ) |
Returns ASN.1 encoded form of this X.509 AlternativeName value.
Reimplemented from ExtensionValue.
| void dumpValue | ( | StringBuffer | buffer, | |
| String | prefix | |||
| ) |
Places the string representation of extension value into the StringBuffer object.
Reimplemented from ExtensionValue.
final boolean ISSUER = false [static] |
final boolean SUBJECT = true [static] |
boolean which [private] |
GeneralNames alternativeNames [private] |