Class X509Extension
This class represents an X509v3 certificate extension. See RFC 5280 as a specification.
Implements
Inherited Members
Namespace: pdftron.Crypto
Assembly: PDFNet.dll
Syntax
public sealed class X509Extension : IDisposable
Methods
Dispose()
Declaration
public override sealed void Dispose()
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |
~X509Extension()
Declaration
protected ~X509Extension()
GetData()
Retrieves the raw binary DER-encoded data of the extension. (DER is short for Distinguished Encoding Rules.)
Declaration
public byte[] GetData()
Returns
Type | Description |
---|---|
byte[] | a container holding the bytes of the extension in the form of binary DER-encoded data |
GetObjectIdentifier()
Retrieves the OID (object identifier) of the extension in the form of integer components in a container. The meaning of an OID can be determined from an OID repository.
Declaration
public ObjectIdentifier GetObjectIdentifier()
Returns
Type | Description |
---|---|
ObjectIdentifier | an ObjectIdentifier object |
IsCritical()
Retrieves whether the extension is 'critical'. See RFC 5280 for an explanation of what this means.
Declaration
public bool IsCritical()
Returns
Type | Description |
---|---|
bool | a boolean representing the criticality flag of the extension |
ToString()
Returns a string representation of the extension.
Declaration
public override sealed string ToString()
Returns
Type | Description |
---|---|
string | a string representation of the extension |
Overrides
Remarks
Output may change in future versions.