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:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.5.0.0 (3.5.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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Displays an alternative name in text format.
(Overrides ObjectToString.)
Top
See Also