Class X501AttributeTypeAndValue
This class represents an AttributeTypeAndValue as mentioned in RFC 5280 in the context of DistinguishedNames and as defined in ITU X.501.
Implements
Inherited Members
Namespace: pdftron.Crypto
Assembly: PDFTronDotNet.dll
Syntax
public class X501AttributeTypeAndValue : IDisposable
Constructors
X501AttributeTypeAndValue(IntPtr)
Declaration
public X501AttributeTypeAndValue(IntPtr impl_ptr)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | impl_ptr |
Methods
Destroy()
Declaration
public void Destroy()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
~X501AttributeTypeAndValue()
Declaration
protected ~X501AttributeTypeAndValue()
GetAttributeTypeOID()
Retrieves the OID (i.e. one of the object identifiers from the X.500 attribute types) in the form of integer components in a container.
Declaration
public ObjectIdentifier GetAttributeTypeOID()
Returns
Type | Description |
---|---|
ObjectIdentifier | an ObjectIdentifier object |
GetStringValue()
Retrieves the value associated with the contained OID (object identifier) as a string, if the value is defined by the OID to be of a string type.
Declaration
public string GetStringValue()
Returns
Type | Description |
---|---|
string | a string containing the string value |