6 #ifndef CRYPTOPP_PKCSPAD_H 7 #define CRYPTOPP_PKCSPAD_H 12 #ifdef CRYPTOPP_IS_DLL 22 static const char * StaticAlgorithmName() {
return "EME-PKCS1-v1_5";}
24 size_t MaxUnpaddedLength(
size_t paddedLength)
const;
32 static const byte decoration[];
33 static const unsigned int length;
51 #ifdef CRYPTOPP_IS_DLL 63 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "EMSA-PKCS1-v1_5";}
65 size_t MinRepresentativeBitLength(
size_t hashIdentifierSize,
size_t digestSize)
const 66 {
return 8 * (digestSize + hashIdentifierSize + 10);}
69 const byte *recoverableMessage,
size_t recoverableMessageLength,
71 byte *representative,
size_t representativeBitLength)
const;
77 static HashIdentifier Lookup()
implements the SHA-384 standard
implements the SHA-256 standard
This file contains helper classes/functions for implementing public key algorithms.
Abstract base classes that provide a uniform interface to this library.
Message encoding method for public key encryption.
Interface for random number generators.
Base class for public key signature standard classes.
Classes for PKCS padding schemes.
Returns a decoding results.
Interface for message encoding method for public key signature schemes.
implements the SHA-512 standard
PKCS #1 version 1.5, for use with RSAES and RSASS.
Base class for public key encryption standard classes.
Classes for SHA-1 and SHA-2 family of message digests.
Crypto++ library namespace.
implements the SHA-224 standard
Interface for retrieving values given their names.