Decodes a signature from a PKCS #7 form.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Shared Function DecodeSignature ( _
	encodedSignature As Byte(), _
	keyAlgorithm As KeyAlgorithm _
) As Byte()
C#
public static byte[] DecodeSignature(
	byte[] encodedSignature,
	KeyAlgorithm keyAlgorithm
)

Parameters

encodedSignature
Type: array<System..::..Byte>[]()[][]
Signature.
keyAlgorithm
Type: Rebex.Security.Certificates..::..KeyAlgorithm
Key algorithm.

Return Value

Decoded signature.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also