Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
ASNOptional< T > Class Template Reference

Optional data encoder and decoder. More...

#include <asn.h>

Inheritance diagram for ASNOptional< T >:
[legend]
Collaboration diagram for ASNOptional< T >:
[legend]

Public Member Functions

void BERDecode (BERSequenceDecoder &seqDecoder, byte tag, byte mask=~CONSTRUCTED)
 BER decode optional data. More...
 
void DEREncode (BufferedTransformation &out)
 DER encode optional data. More...
 
- Public Member Functions inherited from member_ptr< T >
 member_ptr (T *p=NULL)
 
 ~member_ptr ()
 
const Toperator* () const
 
Toperator* ()
 
const Toperator-> () const
 
Toperator-> ()
 
const Tget () const
 
Tget ()
 
Trelease ()
 
void reset (T *p=0)
 

Additional Inherited Members

- Protected Member Functions inherited from member_ptr< T >
 member_ptr (const member_ptr< T > &rhs)
 
void operator= (const member_ptr< T > &rhs)
 
- Protected Attributes inherited from member_ptr< T >
Tm_p
 

Detailed Description

template<class T>
class ASNOptional< T >

Optional data encoder and decoder.

Template Parameters
Tclass or type

Definition at line 345 of file asn.h.

Member Function Documentation

template<class T >
void ASNOptional< T >::BERDecode ( BERSequenceDecoder seqDecoder,
byte  tag,
byte  mask = ~CONSTRUCTED 
)
inline

BER decode optional data.

Parameters
seqDecodersequence with the optional ASN.1 data
tagASN.1 tag to match as optional data
maskthe mask to apply when matching the tag
See also
ASNTag and ASNIdFlag

Definition at line 353 of file asn.h.

Here is the call graph for this function:

template<class T >
void ASNOptional< T >::DEREncode ( BufferedTransformation out)
inline

DER encode optional data.

Parameters
outBufferedTransformation object

Definition at line 362 of file asn.h.


The documentation for this class was generated from the following file: