SigningInfo signingByKey(const Name &keyName)
Copyright (c) 2013-2017 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)
Represents an absolute name.
signer is a certificate, use it directly
SigningInfo signingWithSha256()
signer is a key, use its default certificate
const Name & getName() const
Get name.
SigningInfo signingByIdentity(const Name &identityName)
signer is an identity, use its default key and default certificate