| Modifier and Type | Method and Description |
|---|---|
static Blob |
Name.fromEscapedString(String escapedString)
Make a Blob value by decoding the escapedString according to the NDN URI
Scheme.
|
static Blob |
Name.fromEscapedString(String escapedString,
int beginOffset,
int endOffset)
Make a Blob value by decoding the escapedString between beginOffset and
endOffset according to the NDN URI Scheme.
|
Blob |
Data.getContent() |
Blob |
Sha256WithRsaSignature.getDigestAlgorithm()
Deprecated.
This is for the NDNx wire format which is deprecated.
|
Blob |
KeyLocator.getKeyData() |
Blob |
Interest.getNonce()
Return the nonce value from the incoming interest.
|
Blob |
LocalControlHeader.getPayloadWireEncoding() |
Blob |
PublisherPublicKeyDigest.getPublisherPublicKeyDigest()
Deprecated.
|
Blob |
Sha256WithEcdsaSignature.getSignature()
Get the signature bytes.
|
Blob |
Sha256WithRsaSignature.getSignature()
Get the signature bytes.
|
abstract Blob |
Signature.getSignature()
Get the signature bytes.
|
Blob |
DigestSha256Signature.getSignature()
Get the signature bytes.
|
Blob |
Name.Component.getValue()
Get the component value.
|
Blob |
Sha256WithRsaSignature.getWitness()
Deprecated.
This is for the NDNx wire format which is deprecated.
|
Blob |
ForwardingEntry.wireEncode()
Encode this ForwardingEntry for the default wire format
WireFormat.getDefaultWireFormat().
|
Blob |
ControlParameters.wireEncode()
Encode this ControlParameters for the default wire format
WireFormat.getDefaultWireFormat().
|
Blob |
LocalControlHeader.wireEncode()
Encode this LocalControlHeader for the default wire format
WireFormat.getDefaultWireFormat().
|
Blob |
Name.wireEncode()
Encode this Name for the default wire format
WireFormat.getDefaultWireFormat().
|
Blob |
ForwardingEntry.wireEncode(WireFormat wireFormat)
Encode this ForwardingEntry for a particular wire format.
|
Blob |
ControlParameters.wireEncode(WireFormat wireFormat)
Encode this ControlParameters for a particular wire format.
|
Blob |
LocalControlHeader.wireEncode(WireFormat wireFormat)
Encode this LocalControlHeader for a particular wire format.
|
Blob |
Name.wireEncode(WireFormat wireFormat)
Encode this Name for a particular wire format.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
Name.append(Blob value)
Append a new component, using the existing Blob value.
|
void |
Face.send(Blob encoding)
Send the encoded packet out through the face.
|
Data |
Data.setContent(Blob content) |
void |
Sha256WithRsaSignature.setDigestAlgorithm(Blob digestAlgorithm)
Deprecated.
This is for the NDNx wire format which is deprecated.
|
void |
KeyLocator.setKeyData(Blob keyData) |
Interest |
Interest.setNonce(Blob nonce)
Deprecated.
You should let the wire encoder generate a random nonce
internally before sending the interest.
|
void |
LocalControlHeader.setPayloadWireEncoding(Blob payloadWireEncoding) |
void |
PublisherPublicKeyDigest.setPublisherPublicKeyDigest(Blob publisherPublicKeyDigest)
Deprecated.
|
void |
Sha256WithEcdsaSignature.setSignature(Blob signature)
Set the signature bytes to the given value.
|
void |
Sha256WithRsaSignature.setSignature(Blob signature)
Set the signature bytes to the given value.
|
abstract void |
Signature.setSignature(Blob signature)
Set the signature bytes to the given value.
|
void |
DigestSha256Signature.setSignature(Blob signature)
Set the signature bytes to the given value.
|
void |
Sha256WithRsaSignature.setWitness(Blob witness)
Deprecated.
This is for the NDNx wire format which is deprecated.
|
void |
ForwardingEntry.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this ForwardingEntry.
|
void |
ControlParameters.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this ControlParameters.
|
void |
Interest.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this Interest.
|
void |
Data.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this Data.
|
void |
LocalControlHeader.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this LocalControlHeader.
|
void |
Name.wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this Name.
|
void |
ForwardingEntry.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this ForwardingEntry.
|
void |
ControlParameters.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this ControlParameters.
|
void |
Interest.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this Interest.
|
void |
Data.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this Data.
|
void |
LocalControlHeader.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this LocalControlHeader.
|
void |
Name.wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this Name.
|
| Constructor and Description |
|---|
Name.Component(Blob value)
Create a new Name.Component, using the existing the Blob value.
|
| Modifier and Type | Method and Description |
|---|---|
static Blob |
ProtobufTlv.encode(com.google.protobuf.Message message)
Encode the Protobuf message object as NDN-TLV.
|
Blob |
Tlv0_1_1WireFormat.encodeControlParameters(ControlParameters controlParameters)
Encode controlParameters in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeControlParameters(ControlParameters controlParameters)
Encode controlParameters and return the encoding.
|
Blob |
WireFormat.encodeData(Data data)
Encode data and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeData(Data data,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode data in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeData(Data data,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode data and return the encoding.
|
Blob |
BinaryXmlWireFormat.encodeData(Data data,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode data and return the encoding.
|
Blob |
WireFormat.encodeForwardingEntry(ForwardingEntry forwardingEntry)
Encode forwardingEntry and return the encoding.
|
Blob |
BinaryXmlWireFormat.encodeForwardingEntry(ForwardingEntry forwardingEntry)
Encode forwardingEntry in binary XML and return the encoding.
|
Blob |
WireFormat.encodeInterest(Interest interest)
Encode interest and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeInterest(Interest interest,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode interest using NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeInterest(Interest interest,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode interest and return the encoding.
|
Blob |
BinaryXmlWireFormat.encodeInterest(Interest interest,
int[] signedPortionBeginOffset,
int[] signedPortionEndOffset)
Encode interest in binary XML and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeLocalControlHeader(LocalControlHeader localControlHeader)
Encode the LocalControlHeader in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeLocalControlHeader(LocalControlHeader localControlHeader)
Encode the LocalControlHeader in NDN-TLV and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeName(Name name)
Encode name in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeName(Name name)
Encode name and return the encoding.
|
Blob |
BinaryXmlWireFormat.encodeName(Name name)
Encode name in binary XML and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeSignatureInfo(Signature signature)
Encode signature as a SignatureInfo in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeSignatureInfo(Signature signature)
Encode signature as a SignatureInfo and return the encoding.
|
Blob |
Tlv0_1_1WireFormat.encodeSignatureValue(Signature signature)
Encode the signatureValue in the Signature object as a SignatureValue (the
signature bits) in NDN-TLV and return the encoding.
|
Blob |
WireFormat.encodeSignatureValue(Signature signature)
Encode the signatureValue in the Signature object as a SignatureValue (the
signature bits) and return the encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ProtobufTlv.decode(com.google.protobuf.Message.Builder message,
Blob input) |
void |
BinaryXmlEncoder.writeBlob(Blob value)
Write a BLOB header, then the bytes of the blob value to the output buffer.
|
void |
BinaryXmlEncoder.writeBlobDTagElement(int tag,
Blob value)
Write an element start header using DTAG with the tag to the output buffer, then the blob, then an element close.
|
void |
BinaryXmlEncoder.writeOptionalBlobDTagElement(int tag,
Blob value)
If value.buf() is null or value.size() is 0 then do nothing, otherwise call writeBlobDTagElement.
|
void |
BinaryXmlEncoder.writeOptionalUDataDTagElement(int tag,
Blob value)
If value.buf() is null or value.size() is 0 then do nothing, otherwise call writeUDataDTagElement.
|
void |
BinaryXmlEncoder.writeUData(Blob value)
Write a UDATA header, then the bytes of the UDATA value to the output buffer.
|
void |
BinaryXmlEncoder.writeUDataDTagElement(int tag,
Blob value)
Write an element start header using DTAG with the tag to the output buffer, then the UDATA value, then an element close.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
DerNode.encode()
Get the raw data encoding for this node.
|
Blob |
DerNode.DerStructure.encode()
Override the base encode to return raw data encoding for this node and
its children
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
KeyChain.createSigningRequest(Name keyName)
Create a public key signing request.
|
| Modifier and Type | Field and Description |
|---|---|
protected Blob |
CertificateExtension.extensionValue_ |
| Modifier and Type | Method and Description |
|---|---|
Blob |
PublicKey.getDigest() |
Blob |
PublicKey.getDigest(DigestAlgorithm digestAlgorithm) |
Blob |
PublicKey.getKeyDer() |
Blob |
CertificateExtension.getValue() |
Blob |
CertificateExtension.toDerBlob() |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentityCertificate.wireDecode(Blob input,
WireFormat wireFormat)
Override to call the base class wireDecode then update the public key name.
|
void |
Certificate.wireDecode(Blob input,
WireFormat wireFormat)
Override to call the base class wireDecode then populate the certificate
fields.
|
| Constructor and Description |
|---|
CertificateExtension(OID oid,
boolean isCritical,
Blob value)
Create a new CertificateExtension.
|
CertificateExtension(String oid,
boolean isCritical,
Blob value)
Create a new CertificateExtension.
|
PublicKey(Blob keyDer)
Create a new PublicKey by decoding the keyDer.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data)
Decrypt data using asymmetric encryption.
|
Blob |
FilePrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
abstract Blob |
PrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
Blob |
MemoryPrivateKeyStorage.decrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Decrypt data.
|
Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data)
Encrypt data using asymmetric encryption.
|
Blob |
FilePrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
abstract Blob |
PrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Blob |
MemoryPrivateKeyStorage.encrypt(Name keyName,
ByteBuffer data,
boolean isSymmetric)
Encrypt data.
|
Blob |
BasicIdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
abstract Blob |
IdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Blob |
AndroidSqlite3IdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Blob |
MemoryIdentityStorage.getKey(Name keyName)
Get the public key DER blob from the identity storage.
|
Blob |
PrivateKeyStorage.sign(ByteBuffer data,
Name keyName)
Fetch the private key for keyName and sign the data using
DigestAlgorithm.SHA256, returning a signature Blob.
|
Blob |
FilePrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
abstract Blob |
PrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
Blob |
MemoryPrivateKeyStorage.sign(ByteBuffer data,
Name keyName,
DigestAlgorithm digestAlgorithm)
Fetch the private key for keyName and sign the data, returning a signature
Blob.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
abstract void |
IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
AndroidSqlite3IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
MemoryIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
PolicyManager.verifyDigestSha256Signature(Blob signature,
SignedBlob signedBlob)
Verify the DigestSha256 signature on the SignedBlob by verifying that the
digest of SignedBlob equals the signature.
|
protected static boolean |
PolicyManager.verifySha256WithEcdsaSignature(Blob signature,
SignedBlob signedBlob,
Blob publicKeyDer)
Verify the ECDSA signature on the SignedBlob using the given public key.
|
protected static boolean |
PolicyManager.verifySha256WithRsaSignature(Blob signature,
SignedBlob signedBlob,
Blob publicKeyDer)
Verify the RSA signature on the SignedBlob using the given public key.
|
protected static boolean |
PolicyManager.verifySignature(Signature signature,
SignedBlob signedBlob,
Blob publicKeyDer)
Check the type of signature and use the publicKeyDer to verify the
signedBlob using the appropriate signature algorithm.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SignedBlob
A SignedBlob extends Blob to keep the offsets of a signed portion (e.g., the
bytes of Data packet).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Blob.equals(Blob other) |
void |
SegmentFetcher.OnComplete.onComplete(Blob content) |
| Constructor and Description |
|---|
Blob(Blob blob)
Create a new Blob and take another pointer to the given blob's buffer.
|
SignedBlob(Blob blob,
int signedPortionBeginOffset,
int signedPortionEndOffset)
Create a new SignedBlob and take another pointer to the given blob's
buffer.
|
Copyright © 2015. All rights reserved.