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