RsaEncodeDigestForSignature Method |
Encode a message digest for signature.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] EncodeDigestForSignature(
int keyBytes,
byte[] digest,
HashAlgorithm hashAlg
)
Public Shared Function EncodeDigestForSignature (
keyBytes As Integer,
digest As Byte(),
hashAlg As HashAlgorithm
) As Byte()
Parameters
- keyBytes Int32
- Number of bytes in the key
- digest Byte
- Digest of message
- hashAlg HashAlgorithm
- Message digest algorithm used to create digest
Return Value
ByteEncoded block
RemarksOnly EMSA-PKCS1-v1_5 is supported in this function.
See Also