UnparseableExtension

Constructors

this
this(Extension ext, Throwable why)
Undocumented in source.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Extension

extensionId
ObjectIdentifier extensionId;
Undocumented in source.
critical
bool critical;
Undocumented in source.
extensionValue
byte[] extensionValue;
Undocumented in source.
newExtension
Extension newExtension(ObjectIdentifier extensionId, bool critical, byte[] rawExtensionValue)

Constructs an Extension from individual components of ObjectIdentifier, criticality and the raw encoded extension value.

encode
void encode(OutputStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(DerOutputStream stream)

Write the extension to the DerOutputStream.

isCritical
bool isCritical()

Returns true if extension is critical.

getExtensionId
ObjectIdentifier getExtensionId()

Returns the ObjectIdentifier of the extension.

getValue
byte[] getValue()
Undocumented in source. Be warned that the author may not have intended to support it.
getExtensionValue
byte[] getExtensionValue()

Returns the extension value as an byte array for further processing. Note, this is the raw DER value of the extension, not the DER encoded octet string which is in the certificate. This method does not return a clone; it is the responsibility of the caller to clone the array if necessary.

getId
string getId()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Returns the Extension in user readable form.

toHash
size_t toHash()

Returns a hashcode value for this Extension.

opEquals
bool opEquals(Object other)

Compares this Extension for equality with the specified object. If the <code>other</code> object is an <code>instanceof</code> <code>Extension</code>, then its encoded form is retrieved and compared with the encoded form of this Extension.

Meta