X509AlternativeName(X509AlternativeNamesEnum, Object, Oid) Constructor
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.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public X509AlternativeName(
X509AlternativeNamesEnum type,
Object value,
Oid oid
)
Public Sub New (
type As X509AlternativeNamesEnum,
value As Object,
oid As Oid
)
public:
X509AlternativeName(
X509AlternativeNamesEnum type,
Object^ value,
Oid^ oid
)
new :
type : X509AlternativeNamesEnum *
value : Object *
oid : Oid -> X509AlternativeName
Parameters
- type X509AlternativeNamesEnum
-
Specifies the type of the alternative name contained in the value parameter. Type can be either:
OtherName, Guid or UserPrincipalName.
- value Object
-
Specifies the alternative name value. This parameter accepts either, string or byte array that
represents other name value.
- oid Oid
-
Specifies the object identifier of the other name.
For compatibility with Name Constraints extension, null value can be passed for any name type
supported by this constructor.