CryptoHelper.DecodeSignature Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9448)
DecodeSignature(Byte[], KeyAlgorithm)
Decodes a signature from a PKCS #7 form.
Declaration
public static byte[] DecodeSignature(byte[] encodedSignature, KeyAlgorithm keyAlgorithm)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | encodedSignature | Signature. |
| KeyAlgorithm | keyAlgorithm | Key algorithm. |
Returns
| Type | Description |
|---|---|
| Byte[] | Decoded signature. |