net.named_data.jndn
public class Sha256WithRsaSignature extends Signature
| Constructor and Description |
|---|
Sha256WithRsaSignature()
Create a new Sha256WithRsaSignature with default values.
|
Sha256WithRsaSignature(Sha256WithRsaSignature signature)
Create a new Sha256WithRsaSignature with a copy of the fields in the given
signature object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Return a new Signature which is a deep copy of this signature.
|
long |
getChangeCount()
Get the change count, which is incremented each time this object
(or a child object) is changed.
|
Blob |
getDigestAlgorithm()
Deprecated.
This is for the NDNx wire format which is deprecated.
|
KeyLocator |
getKeyLocator() |
PublisherPublicKeyDigest |
getPublisherPublicKeyDigest()
Deprecated.
The Signature publisherPublicKeyDigest is deprecated. If you
need a publisher public key digest, set the keyLocator keyLocatorType to
KEY_LOCATOR_DIGEST and set its key data to the digest.
|
Blob |
getSignature()
Get the signature bytes.
|
Blob |
getWitness()
Deprecated.
This is for the NDNx wire format which is deprecated.
|
void |
setDigestAlgorithm(Blob digestAlgorithm)
Deprecated.
This is for the NDNx wire format which is deprecated.
|
void |
setKeyLocator(KeyLocator keyLocator) |
void |
setPublisherPublicKeyDigest(PublisherPublicKeyDigest publisherPublicKeyDigest)
Deprecated.
The Signature publisherPublicKeyDigest is deprecated. If you
need a publisher public key digest, set the keyLocator keyLocatorType to
KEY_LOCATOR_DIGEST and set its key data to the digest.
|
void |
setSignature(Blob signature)
Set the signature bytes to the given value.
|
void |
setWitness(Blob witness)
Deprecated.
This is for the NDNx wire format which is deprecated.
|
public Sha256WithRsaSignature()
public Sha256WithRsaSignature(Sha256WithRsaSignature signature)
signature - The signature object to copy.public Object clone() throws CloneNotSupportedException
clone in class SignatureCloneNotSupportedExceptionpublic final Blob getDigestAlgorithm()
public final Blob getWitness()
public final Blob getSignature()
getSignature in class Signaturepublic final PublisherPublicKeyDigest getPublisherPublicKeyDigest()
public final KeyLocator getKeyLocator()
public final void setDigestAlgorithm(Blob digestAlgorithm)
public final void setWitness(Blob witness)
public final void setSignature(Blob signature)
setSignature in class Signaturesignature - A Blob with the signature bytes.public final void setPublisherPublicKeyDigest(PublisherPublicKeyDigest publisherPublicKeyDigest)
public final void setKeyLocator(KeyLocator keyLocator)
public final long getChangeCount()
getChangeCount in interface ChangeCountablegetChangeCount in class SignatureCopyright © 2015. All rights reserved.