|
|
| IdentityCertificate () |
| | The default constructor.
|
| |
| | IdentityCertificate (const Data &data) |
| | Create an IdentityCertificate from the content in the data packet. More...
|
| |
|
| IdentityCertificate (const IdentityCertificate &identityCertificate) |
| | The copy constructor.
|
| |
|
virtual | ~IdentityCertificate () |
| | The virtual destructor.
|
| |
| virtual Data & | setName (const Name &name) |
| | Override the base class method to check that the name is a valid identity certificate name. More...
|
| |
| virtual void | wireDecode (const Blob &input, WireFormat &wireFormat=*WireFormat::getDefaultWireFormat()) |
| | Override to call the base class wireDecode then update the public key name. More...
|
| |
|
Name | getPublicKeyName () const |
| |
|
| Certificate () |
| | The default constructor.
|
| |
| | Certificate (const Data &data) |
| | Create a Certificate from the content in the data packet. More...
|
| |
|
virtual | ~Certificate () |
| | The virtual destructor.
|
| |
|
void | encode () |
| | Encode the contents of the certificate in DER format and set the Content and MetaInfo fields.
|
| |
| void | addSubjectDescription (const CertificateSubjectDescription &description) |
| | Add a subject description. More...
|
| |
|
const SubjectDescriptionList & | getSubjectDescriptionList () const |
| |
|
SubjectDescriptionList & | getSubjectDescriptionList () |
| |
| void | addExtension (const CertificateExtension &extension) |
| | Add a certificate extension. More...
|
| |
|
const ExtensionList & | getExtensionList () const |
| |
|
ExtensionList & | getExtensionList () |
| |
|
void | setNotBefore (const MillisecondsSince1970 ¬Before) |
| |
|
MillisecondsSince1970 & | getNotBefore () |
| |
|
const MillisecondsSince1970 & | getNotBefore () const |
| |
|
void | setNotAfter (const MillisecondsSince1970 ¬After) |
| |
|
MillisecondsSince1970 & | getNotAfter () |
| |
|
const MillisecondsSince1970 & | getNotAfter () const |
| |
|
void | setPublicKeyInfo (const PublicKey &key) |
| |
|
PublicKey & | getPublicKeyInfo () |
| |
|
const PublicKey & | getPublicKeyInfo () const |
| |
| bool | isTooEarly () const |
| | Check if the certificate is valid. More...
|
| |
| bool | isTooLate () const |
| | Check if the certificate is valid. More...
|
| |
|
void | printCertificate (std::ostream &os) const |
| |
|
void | printCertificate () const |
| |
|
| Data () |
| | Create a new Data object with default values and where the signature is a blank Sha256WithRsaSignature.
|
| |
| | Data (const Name &name) |
| | Create a new Data object with the given name and default values and where the signature is a blank Sha256WithRsaSignature. More...
|
| |
| | Data (const Data &data) |
| | The copy constructor: Create a deep copy of the given data object, including a clone of the signature object. More...
|
| |
|
virtual | ~Data () |
| | The virtual destructor.
|
| |
| Data & | operator= (const Data &data) |
| | The assignment operator: Copy fields and make a clone of the signature. More...
|
| |
| SignedBlob | wireEncode (WireFormat &wireFormat=*WireFormat::getDefaultWireFormat()) const |
| | Encode this Data for a particular wire format. More...
|
| |
| void | wireDecode (const uint8_t *input, size_t inputLength, WireFormat &wireFormat=*WireFormat::getDefaultWireFormat()) |
| | Decode the input using a particular wire format and update this Data. More...
|
| |
| void | wireDecode (const std::vector< uint8_t > &input, WireFormat &wireFormat=*WireFormat::getDefaultWireFormat()) |
| | Decode the input using a particular wire format and update this Data. More...
|
| |
| void | get (DataLite &dataLite) const |
| | Set dataLite to point to the values in this Data object, without copying any memory. More...
|
| |
| void | set (const DataLite &dataLite) |
| | Clear this data object, and set the values by copying from dataLite. More...
|
| |
|
const Signature * | getSignature () const |
| |
|
Signature * | getSignature () |
| |
|
const Name & | getName () const |
| |
|
Name & | getName () |
| |
|
const MetaInfo & | getMetaInfo () const |
| |
|
MetaInfo & | getMetaInfo () |
| |
|
const Blob & | getContent () const |
| |
| uint64_t | getIncomingFaceId () const |
| | Get the incoming face ID according to the incoming packet header. More...
|
| |
| const SignedBlob & | getDefaultWireEncoding () const |
| | Return a reference to the defaultWireEncoding, which was encoded with getDefaultWireEncodingFormat(). More...
|
| |
| WireFormat * | getDefaultWireEncodingFormat () const |
| | Get the WireFormat which is used by getDefaultWireEncoding(). More...
|
| |
| Data & | setSignature (const Signature &signature) |
| | Set the signature to a copy of the given signature. More...
|
| |
| Data & | setMetaInfo (const MetaInfo &metaInfo) |
| | Set metaInfo to a copy of the given MetaInfo. More...
|
| |
| Data & | setContent (const std::vector< uint8_t > &content) |
| | Set the content to a copy of the data in the vector. More...
|
| |
|
Data & | setContent (const uint8_t *content, size_t contentLength) |
| |
|
Data & | setContent (const Blob &content) |
| |
| Data & | setLpPacket (const ptr_lib::shared_ptr< LpPacket > &lpPacket) |
| | An internal library method to set the LpPacket for an incoming packet. More...
|
| |
| uint64_t | getChangeCount () const |
| | Get the change count, which is incremented each time this object (or a child object) is changed. More...
|
| |