Fabcoin Core
0.16.2
P2P Digital Currency
|
Encode and decode ASN.1 objects with additional information. More...
#include <asn.h>
Public Member Functions | |
void | Save (BufferedTransformation &bt) const |
DER encode ASN.1 object. More... | |
void | Load (BufferedTransformation &bt) |
BER decode ASN.1 object. More... | |
Public Member Functions inherited from ASN1Object | |
virtual | ~ASN1Object () |
virtual void | BERDecode (BufferedTransformation &bt)=0 |
Decode this object from a BufferedTransformation. More... | |
virtual void | DEREncode (BufferedTransformation &bt) const =0 |
Encode this object into a BufferedTransformation. More... | |
virtual void | BEREncode (BufferedTransformation &bt) const |
Encode this object into a BufferedTransformation. More... | |
Encode and decode ASN.1 objects with additional information.
BASE | base class or type |
Encodes and decodes public keys, private keys and group parameters with OID identifying the algorithm or scheme.
|
inline |
BER decode ASN.1 object.
bt | BufferedTransformation object |
|
inline |
DER encode ASN.1 object.
bt | BufferedTransformation object |
Save() will write the OID associated with algorithm or scheme. In the case of public and private keys, this function writes the subjectPubicKeyInfo and privateKeyInfo parts.