Package | Description |
---|---|
net.named_data.jndn.encrypt |
Modifier and Type | Field and Description |
---|---|
static EncryptError.OnError |
Producer.defaultOnError
The default OnError callback which does nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
Consumer.consume(Name contentName,
Consumer.OnConsumeComplete onConsumeComplete,
EncryptError.OnError onError)
Express an Interest to fetch the content packet with contentName, and
decrypt it, fetching keys as needed.
|
Name |
Producer.createContentKey(double timeSlot,
Producer.OnEncryptedKeys onEncryptedKeys,
EncryptError.OnError onError)
Create the content key corresponding to the timeSlot.
|
abstract void |
Consumer.FriendAccess.decrypt(Blob encryptedBlob,
Blob keyBits,
Consumer.OnPlainText onPlainText,
EncryptError.OnError onError) |
void |
Producer.produce(Data data,
double timeSlot,
Blob content,
EncryptError.OnError onError)
Encrypt the given content with the content key that covers timeSlot, and
update the data packet with the encrypted content and an appropriate data
name.
|
Copyright © 2016. All rights reserved.