All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RSASSAPSSParams.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 
6 #ifndef PDFTRON_H_CPPCryptoRSASSAPSSParams
7 #define PDFTRON_H_CPPCryptoRSASSAPSSParams
8 
9 #include <Common/BasicTypes.h>
10 #include <Crypto/AlgorithmParams.h>
12 
13 namespace pdftron { namespace Crypto {
14 
19 {
20 public:
21  RSASSAPSSParams(const RSASSAPSSParams& other);
22  RSASSAPSSParams(TRN_RSASSAPSSParams impl);
24 
29 
35  RSASSAPSSParams(const AlgorithmIdentifier& digest_algorithm_id, const UInt32 salt_length);
36 
42 
47  void SetDigestAlgorithm(const AlgorithmIdentifier& value);
48 
54 
59  void SetMaskGenAlgorithm(const AlgorithmIdentifier& value);
60 
65  UInt32 GetSaltLength() const;
66 
71  void SetSaltLength(UInt32 value);
72 
77  UInt32 GetTrailerField() const;
78 
83  void SetTrailerField(UInt32 value);
84 };
85 
86 #include <Impl/RSASSAPSSParams.inl>
87 } //end pdftron
88 } //end Crypto
89 
90 
91 #endif //PDFTRON_H_CPPCryptoRSASSAPSSParams
void SetDigestAlgorithm(const AlgorithmIdentifier &value)
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
AlgorithmIdentifier GetDigestAlgorithm() const
RSASSAPSSParams & operator=(const RSASSAPSSParams &other)
void SetSaltLength(UInt32 value)
AlgorithmIdentifier GetMaskGenAlgorithm() const
void SetTrailerField(UInt32 value)
void SetMaskGenAlgorithm(const AlgorithmIdentifier &value)