DerEncoder
| Modifier and Type | Field and Description |
|---|---|
| private static final Debug | |
| private final Map | |
| public static final String | |
| private static final Class | |
| private Map | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CertificateExtensions(DerInputStream
the DerInputStream to read the Extension from. in)Create the object, decoding the values from the passed DER stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | encode(DerOutputStream
the DerOutputStream to marshal the contents to. out)Implements sun. Encode the extensions in DER form to the stream, setting the context specific tag as needed in the X.509 v3 certificate. |
| public void | encode(DerOutputStream
the DerOutputStream to marshal the contents to. out, boolean if true then no context specific tag is added. isCertReq)Encode the extensions in DER form to the stream. |
| public boolean | Returns: true iff all the entries match that of the Other, false otherwise.the object to test for equality with this
CertificateExtensions. other)Overrides java. Compares this CertificateExtensions for equality with the specified object. |
| public Collection | Returns: a collection view of the extensions in this Certificate.Return a collection view of the extensions. |
| public Extension | getExtension(String
the identifier string for the extension to retrieve.
Could be one of "x509.info.extensions.ExtensionName",
"ExtensionName", "2.3.4.5". alias)Get the extension with this alias. |
| public String | |
| public Map | |
| public int | Returns: a hashcode value for this CertificateExtensionsOverrides java. Returns a hashcode value for this CertificateExtensions. |
| public boolean | hasUnsupportedCriticalExtension()
Return true if a critical extension is found that is not supported, otherwise return false. |
| private void | |
| private void | |
| public void | setExtension(String
the extension name used in the cache. name, Extension the extension to set. ext)Set the extension value. |
| public String | Returns: a string representation of this CertificateExtensions.Overrides java. Returns a string representation of this |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| map | back to summary |
|---|---|
| private final Map<String, Extension> map | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| PARAMS | back to summary |
|---|---|
| private static final Class<?>[] PARAMS | |
| unparseableExtensions | back to summary |
|---|---|
| private Map<String, Extension> unparseableExtensions | |
| unsupportedCritExt | back to summary |
|---|---|
| private boolean unsupportedCritExt | |
| CertificateExtensions | back to summary |
|---|---|
| public CertificateExtensions() Default constructor. | |
| CertificateExtensions | back to summary |
|---|---|
| public CertificateExtensions(DerInputStream in) throws IOException Create the object, decoding the values from the passed DER stream.
| |
| delete | back to summary |
|---|---|
| public void delete(String name) throws IOException Delete the extension value.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the extensions in DER form to the stream, setting the context specific tag as needed in the X.509 v3 certificate.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out, boolean isCertReq) Encode the extensions in DER form to the stream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compares this CertificateExtensions for equality with the specified
object. If the | |
| getAllExtensions | back to summary |
|---|---|
| public Collection Return a collection view of the extensions.
| |
| getExtension | back to summary |
|---|---|
| public Extension getExtension(String alias) Get the extension with this alias.
| |
| getNameByOid | back to summary |
|---|---|
| public String getNameByOid(ObjectIdentifier oid) | |
| getUnparseableExtensions | back to summary |
|---|---|
| public Map | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hashcode value for this CertificateExtensions.
| |
| hasUnsupportedCriticalExtension | back to summary |
|---|---|
| public boolean hasUnsupportedCriticalExtension() Return true if a critical extension is found that is not supported, otherwise return false. | |
| init | back to summary |
|---|---|
| private void init(DerInputStream in) throws IOException | |
| parseExtension | back to summary |
|---|---|
| private void parseExtension(Extension ext) throws IOException | |
| setExtension | back to summary |
|---|---|
| public void setExtension(String name, Extension ext) Set the extension value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this Overrides to
| |