Click or drag to resize

X509AlternativeName Class

Represents a single alternative name used in X509SubjectAlternativeNamesExtension and X509IssuerAlternativeNamesExtension classes. This class supports all alternative name types defined in RFC 5280 and supports two Microsoft proprietary alternative names: Guid and User Principal Name (UPN).
Inheritance Hierarchy
SystemObject
  System.Security.Cryptography.X509CertificatesX509AlternativeName

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public class X509AlternativeName

The X509AlternativeName type exposes the following members.

Constructors
  NameDescription
Public methodX509AlternativeName(Byte)
Initializes a new instance of the X509AlternativeName class by using a ASN.1-encoded byte array that represents a particular alternative name.
Public methodX509AlternativeName(X509AlternativeNamesEnum, Object)
Initializes a new instance of the X509AlternativeName class by using alternative name type and alternative name value.
Public methodX509AlternativeName(X509AlternativeNamesEnum, Object, Oid)
Initializes a new instance of the X509AlternativeName class by using alternative name type, alternative name value and alternative name object identifier. This constructor supports only OtherName type which can be either: OtherName, Guid or UserPrincipalName. Use additional constructor for the rest alternative name types.
Top
Properties
  NameDescription
Public propertyOID
Gets an object idientifier of the other name. For common names, this property returns null.
Public propertyRawData
Gets ASN.1-encoded alternative name value in the byte array form.
Public propertyType
Gets the type of alternative name contained in the Value property.
Public propertyValue
Gets textual representation of the alternative name.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFormat
Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded alternative name as a string.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Displays an alternative name in text format.
(Overrides ObjectToString.)
Top
See Also