API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

RSA SIGNATURE TYPES

Brew Release
Brew MP 1.0.2
Description
Defines for well known signature types; used with sign and verify (parameter nPadType) Depending upon implementation of engine other signature types can be used.
IPUBKEY_SIG_PKCS1_TYPE1 : No ASN1 encoding; Only adds PKCS1Type1 padding and runs its through ModExp(exactly) like Encrypt except with private key instead
IPUBKEY_SIG_PKCS1_MD2 : MD2 with RSA encryption as defined in PKCS#1 version 1.5 RFC2313
IPUBKEY_SIG_PKCS1_MD5 : MD5 with RSA encryption as defined in PKCS#1 version 1.5 RFC2313
IPUBKEY_SIG_PKCS1_SHA1 : SHA1 with RSA encryption as defined in PKCS#1 version 2.0 RFC2437
IPUBKEY_SIG_PKCS1_SHA256 : SHA256 with RSA encryption as defined in PKCS#1 version 2.1 RFC3447
IPUBKEY_SIG_PKCS1_SHA384 : SHA384 with RSA encryption as defined in PKCS#1 version 2.1 RFC3447
IPUBKEY_SIG_PKCS1_SHA512 : SHA512 with RSA encryption as defined in PKCS#1 version 2.1 RFC3447
IPUBKEY_SIG_PKCS1_SHA224 : SHA224 with RSA encryption as defined in PKCS#1 version 2.1 (see www.rsalabs.com)
IPUBKEY_SIG_PKCS1_PSS_SHA1_MGF1 : PSS SHA1 with MGF1 with RSA encryption as defined in PKCS#1 version 2.1 RFC3447