| Package | Description |
|---|---|
| net.named_data.jndn.security |
| Modifier and Type | Method and Description |
|---|---|
SigningInfo |
SigningInfo.setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the digest algorithm for public key operations.
|
SigningInfo |
SigningInfo.setPibIdentity(PibIdentity identity)
Set this to type SignerType.ID according to the given PibIdentity.
|
SigningInfo |
SigningInfo.setPibKey(PibKey key)
Set this to type SignerType.KEY according to the given PibKey.
|
SigningInfo |
SigningInfo.setSha256Signing()
Set this to type SignerType.SHA256, and set the digest algorithm to
DigestAlgorithm.SHA256.
|
SigningInfo |
SigningInfo.setSigningCertificateName(Name certificateName)
Set this to type SignerType.CERT and a certificate with name
certificateName.
|
SigningInfo |
SigningInfo.setSigningIdentity(Name identityName)
Set this to type SignerType.ID and an identity with name identityName.
|
SigningInfo |
SigningInfo.setSigningKeyName(Name keyName)
Set this to type SignerType.KEY and a key with name keyName.
|
SigningInfo |
SigningInfo.setValidityPeriod(ValidityPeriod validityPeriod)
Set the validity period for the signature info.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
KeyChain.sign(ByteBuffer buffer,
SigningInfo params)
Sign the byte buffer according to the supplied signing parameters.
|
void |
KeyChain.sign(Data data,
SigningInfo params)
Wire encode the Data object, sign it according to the supplied signing
parameters, and set its signature.
|
void |
KeyChain.sign(Data data,
SigningInfo params,
WireFormat wireFormat)
Wire encode the Data object, sign it according to the supplied signing
parameters, and set its signature.
|
void |
KeyChain.sign(Interest interest,
SigningInfo params)
Sign the Interest according to the supplied signing parameters.
|
void |
KeyChain.sign(Interest interest,
SigningInfo params,
WireFormat wireFormat)
Sign the Interest according to the supplied signing parameters.
|
Copyright © 2017. All rights reserved.