X509ExtensionCollectionExtensionsDecode(X509ExtensionCollection, Asn1Reader) Method
Decodes ASN.1-encoded byte array that represents a collection of
X509Extension objects.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static void Decode(
this X509ExtensionCollection extensions,
Asn1Reader asn
)
<ExtensionAttribute>
Public Shared Sub Decode (
extensions As X509ExtensionCollection,
asn As Asn1Reader
)
public:
[ExtensionAttribute]
static void Decode(
X509ExtensionCollection^ extensions,
Asn1Reader^ asn
)
[<ExtensionAttribute>]
static member Decode :
extensions : X509ExtensionCollection *
asn : Asn1Reader -> unit
- extensions X509ExtensionCollection
- Destination collection where decoded extensions will be added.
- asn Asn1Reader
- ASN.1 reader which points to the beginning of the extenstion collection structure.
In Visual Basic and C#, you can call this method as an instance method on any object of type
X509ExtensionCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
If current collection contains items, decoded items will be appended to existing items.