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).
Extension
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| pack-priv GeneralNames |
| Access | Constructor and Description |
|---|---|
| public | IssuerAlternativeNameExtension(GeneralNames
the GeneralNames for the issuer. names)Create a IssuerAlternativeNameExtension with the passed GeneralNames. |
| public | IssuerAlternativeNameExtension(Boolean
true if the extension is to be treated as critical. critical, GeneralNames the GeneralNames for the issuer, cannot be null or empty. names)Create a IssuerAlternativeNameExtension with the passed criticality and GeneralNames. |
| public | IssuerAlternativeNameExtension(Boolean
true if the extension is to be treated as critical. critical, Object an array of DER encoded bytes of the actual value. value)Create the extension from the passed DER encoded value. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to write the extension to. out)Overrides sun. Implements sun. Write the extension to the OutputStream. |
| private void | |
| public String | |
| public GeneralNames | |
| public String | toString()
Overrides sun. Returns a printable representation of the IssuerAlternativeName. |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| names | back to summary |
|---|---|
| pack-priv GeneralNames names | |
| IssuerAlternativeNameExtension | back to summary |
|---|---|
| public IssuerAlternativeNameExtension(GeneralNames names) Create a IssuerAlternativeNameExtension with the passed GeneralNames.
| |
| IssuerAlternativeNameExtension | back to summary |
|---|---|
| public IssuerAlternativeNameExtension(Boolean critical, GeneralNames names) Create a IssuerAlternativeNameExtension with the passed criticality and GeneralNames.
| |
| IssuerAlternativeNameExtension | back to summary |
|---|---|
| public IssuerAlternativeNameExtension(Boolean critical, Object value) throws IOException Create the extension from the passed DER encoded value.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Overrides sun. Implements sun. Write the extension to the OutputStream.
| |
| encodeThis | back to summary |
|---|---|
| private void encodeThis() | |
| getName | back to summary |
|---|---|
| public String getName() Overrides sun. Return the name of this extension.
| |
| getNames | back to summary |
|---|---|
| public GeneralNames getNames() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Returns a printable representation of the IssuerAlternativeName. | |