Object Identifier.
More...
#include <asn.h>
|
bool | operator== (const OID &lhs, const OID &rhs) |
|
bool | operator!= (const OID &lhs, const OID &rhs) |
|
bool | operator< (const OID &lhs, const OID &rhs) |
|
bool | operator<= (const OID &lhs, const OID &rhs) |
|
bool | operator>= (const OID &lhs, const OID &rhs) |
|
Object Identifier.
Definition at line 264 of file asn.h.
◆ ~OID()
◆ OID() [1/3]
Construct an OID.
Definition at line 270 of file asn.h.
◆ OID() [2/3]
Construct an OID.
- Parameters
-
v | value to initialize the OID |
Definition at line 274 of file asn.h.
◆ OID() [3/3]
Construct an OID.
- Parameters
-
Definition at line 278 of file asn.h.
◆ BERDecode()
BER decode an OID.
- Parameters
-
Definition at line 345 of file asn.cpp.
◆ BERDecodeAndCheck()
◆ DEREncode()
DER encode this OID.
- Parameters
-
Definition at line 333 of file asn.cpp.
◆ Empty()
bool OID::Empty |
( |
| ) |
const |
|
inline |
Determine if OID is empty.
- Returns
- true if OID has 0 elements, false otherwise
- Since
- Crypto++ 8.0
Definition at line 311 of file asn.h.
◆ GetValues()
const std::vector< word32 > & OID::GetValues |
( |
| ) |
const |
|
inline |
Retrieve OID value array.
- Returns
- OID value vector
- Since
- Crypto++ 8.0
Definition at line 318 of file asn.h.
◆ operator+=()
Append a value to an OID.
- Parameters
-
Definition at line 284 of file asn.h.
◆ Print()
std::ostream & OID::Print |
( |
std::ostream & |
out | ) |
const |
Print an OID.
- Parameters
-
- Returns
- ostream reference
Print() writes the OID in a customary format, like 1.2.840.113549.1.1.11. The caller is reposnsible to convert the OID to a friendly name, like sha256WithRSAEncryption.
- Since
- Crypto++ 8.3
Definition at line 381 of file asn.cpp.
◆ m_values
std::vector<word32> OID::m_values |
|
protected |
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/asn.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/asn.cpp