| Package | Description |
|---|---|
| net.named_data.jndn.security | |
| net.named_data.jndn.security.certificate | |
| net.named_data.jndn.security.identity |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
VerificationHelpers.verifyDataSignature(Data data,
PublicKey publicKey)
Verify the Data packet using the public key and digest algorithm SHA256.
|
static boolean |
VerificationHelpers.verifyDataSignature(Data data,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm)
Verify the Data packet using the public key.
|
static boolean |
VerificationHelpers.verifyDataSignature(Data data,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm,
WireFormat wireFormat)
Verify the Data packet using the public key.
|
static boolean |
VerificationHelpers.verifyInterestSignature(Interest interest,
PublicKey publicKey)
Verify the Interest packet using the public key and digest algorithm SHA256,
where the last two name components are the SignatureInfo and signature
bytes.
|
static boolean |
VerificationHelpers.verifyInterestSignature(Interest interest,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm)
Verify the Interest packet using the public key, where the last two name
components are the SignatureInfo and signature bytes.
|
static boolean |
VerificationHelpers.verifyInterestSignature(Interest interest,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm,
WireFormat wireFormat)
Verify the Interest packet using the public key, where the last two name
components are the SignatureInfo and signature bytes.
|
static boolean |
VerificationHelpers.verifySignature(Blob buffer,
Blob signature,
PublicKey publicKey)
Verify the buffer against the signature using the public key and
digest algorithm SHA256.
|
static boolean |
VerificationHelpers.verifySignature(Blob buffer,
Blob signature,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm)
Verify the buffer against the signature using the public key.
|
static boolean |
VerificationHelpers.verifySignature(ByteBuffer buffer,
Blob signature,
PublicKey publicKey)
Verify the buffer against the signature using the public key and
digest algorithm SHA256.
|
static boolean |
VerificationHelpers.verifySignature(ByteBuffer buffer,
Blob signature,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm)
Verify the buffer against the signature using the public key.
|
static boolean |
VerificationHelpers.verifySignature(ByteBuffer buffer,
byte[] signature,
PublicKey publicKey)
Verify the buffer against the signature using the public key and
digest algorithm SHA256.
|
static boolean |
VerificationHelpers.verifySignature(ByteBuffer buffer,
byte[] signature,
PublicKey publicKey,
DigestAlgorithm digestAlgorithm)
Verify the buffer against the signature using the public key.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
Certificate.getPublicKeyInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.setPublicKeyInfo(PublicKey key) |
| Modifier and Type | Method and Description |
|---|---|
abstract PublicKey |
PrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
MemoryPrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
FilePrivateKeyStorage.getPublicKey(Name keyName)
Get the public key
|
PublicKey |
IdentityManager.getPublicKey(Name keyName)
Get the public key with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
IdentityCertificate |
IdentityManager.createIdentityCertificate(Name certificatePrefix,
PublicKey publicKey,
Name signerCertificateName,
double notBefore,
double notAfter)
Create an identity certificate for a public key supplied by the caller.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription)
Prepare an unsigned identity certificate.
|
IdentityCertificate |
IdentityManager.prepareUnsignedIdentityCertificate(Name keyName,
PublicKey publicKey,
Name signingIdentity,
double notBefore,
double notAfter,
List subjectDescription,
Name certPrefix)
Prepare an unsigned identity certificate.
|
Copyright © 2019. All rights reserved.