Show / Hide Table of Contents

# Class X501AttributeTypeAndValue

This class represents an AttributeTypeAndValue as mentioned in RFC 5280 in the context of DistinguishedNames and as defined in ITU X.501.

##### Inheritance

object
X501AttributeTypeAndValue

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.Crypto

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class X501AttributeTypeAndValue : 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 |

#### ~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

### Implements

IDisposable