libcryptosec
SignerInformation.h
Go to the documentation of this file.
1 #ifndef SIGNERINFORMATION_H_
2 #define SIGNERINFORMATION_H_
3 
4 #include <openssl/pkcs7.h>
5 
6 #include "MessageDigest.h"
9 
11 {
12 public:
13  //SignerInformation();
14  SignerInformation(const PKCS7_SIGNER_INFO* si);
15  virtual ~SignerInformation();
16 
17  int getVersion() const throw();
18  std::pair<RDNSequence, long> getIssuerAndSerial() const throw();
19  MessageDigest::Algorithm getDigestAlg() const throw();
20  std::vector<Asn1Attribute> getSignedAttributes() const throw();
21  ObjectIdentifier getEncryptionAlg() const throw();
22  ByteArray getSignature() const throw();
23 
24 
25 protected:
26  PKCS7_SIGNER_INFO* si;
27 };
28 
29 #endif /*SIGNERINFORMATION_H_*/
PKCS7_SIGNER_INFO * si
Definition: SignerInformation.h:26
int getVersion() const
MessageDigest::Algorithm getDigestAlg() const
Definition: SignerInformation.h:10
ByteArray getSignature() const
std::pair< RDNSequence, long > getIssuerAndSerial() const
virtual ~SignerInformation()
Definition: SignerInformation.cpp:7
Algorithm
Definition: MessageDigest.h:29
std::vector< Asn1Attribute > getSignedAttributes() const
Definition: ObjectIdentifier.h:11
SignerInformation(const PKCS7_SIGNER_INFO *si)
Classe usada para transportar dados binários pelo sistema. Pode ser usada para conversão de texto em ...
Definition: ByteArray.h:24
ObjectIdentifier getEncryptionAlg() const