libcryptosec
Asn1Attribute.h
Go to the documentation of this file.
1 #ifndef ASN1ATTRIBUTE_H_
2 #define ASN1ATTRIBUTE_H_
3 
5 #include "Asn1Type.h"
6 
8 {
9 public:
10  Asn1Attribute();
11  Asn1Attribute(X509_ATTRIBUTE* attr);
12  virtual ~Asn1Attribute();
13 
14  ObjectIdentifier getOid() const throw();
15  void setOid() const throw();
16 
17  vector<Asn1Type> getValue() const throw();
18  void setValue(vector<Asn1Type>) const throw();
19 
20  //nao faz copia
21  X509_ATTRIBUTE* getX509Attribute() const throw();
22 
23 protected:
24  X509_ATTRIBUTE* attr;
25 };
26 
27 #endif /*ASN1ATTRIBUTE_H_*/
ObjectIdentifier getOid() const
X509_ATTRIBUTE * attr
Definition: Asn1Attribute.h:24
vector< Asn1Type > getValue() const
Definition: ObjectIdentifier.h:11
Definition: Asn1Attribute.h:7
virtual ~Asn1Attribute()
Definition: Asn1Attribute.cpp:7
void setOid() const
Asn1Attribute()
Definition: Asn1Attribute.cpp:3
X509_ATTRIBUTE * getX509Attribute() const
void setValue(vector< Asn1Type >) const