Pkcs9AttributeObjectExtensionsEncode Method
Encodes current object to ASN.1-encoded byte array.
Namespace: SysadminsLV.PKI.Cryptography.PkcsAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static byte[] Encode(
this Pkcs9AttributeObject attribute
)
<ExtensionAttribute>
Public Shared Function Encode (
attribute As Pkcs9AttributeObject
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ Encode(
Pkcs9AttributeObject^ attribute
)
[<ExtensionAttribute>]
static member Encode :
attribute : Pkcs9AttributeObject -> byte[]
- attribute Pkcs9AttributeObject
- An instance of Pkcs9AttributeObject to encode.
ByteASN.1-encoded byte array.In Visual Basic and C#, you can call this method as an instance method on any object of type
Pkcs9AttributeObject. 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).