public final class AlternativeName extends ExtensionValue
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ISSUER |
static boolean |
SUBJECT |
encoding| Constructor and Description |
|---|
AlternativeName(boolean which,
byte[] encoding)
Creates the extension object on the base of its encoded form.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpValue(StringBuilder sb,
String prefix) |
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 AlternativeName value.
|
dumpValuepublic static final boolean ISSUER
public static final boolean SUBJECT
public AlternativeName(boolean which,
byte[] encoding)
throws IOException
which - specifies which alternative names are given
(Subject's or Issuer's)IOExceptionpublic byte[] getEncoded()
getEncoded in class ExtensionValuepublic void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue