SigningInfo signingByKey(const Name &keyName)
Copyright (c) 2013-2016 Regents of the University of California.
The certificate following the certificate format naming convention.
use sha256 digest, no signer needs to be specified
Signing parameters passed to KeyChain.
SigningInfo signingByCertificate(const Name &certName)
const Name & getName() const
Get name of the Data packet.
Name abstraction to represent an absolute name.
signer is a certificate, use it directly
SigningInfo signingWithSha256()
signer is a key, use its default certificate
SigningInfo signingByIdentity(const Name &identityName)
signer is an identity, use its default key and default certificate