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.
|
KeyLocator |
getKeyLocator() |
Blob |
getSignature()
Get the signature bytes.
|
void |
setKeyLocator(KeyLocator keyLocator) |
void |
setSignature(Blob signature)
Set the signature bytes to the given value.
|
public Sha256WithRsaSignature()
public Sha256WithRsaSignature(Sha256WithRsaSignature signature)
signature
- The signature object to copy.public Object clone() throws CloneNotSupportedException
clone
in class Signature
CloneNotSupportedException
public final Blob getSignature()
getSignature
in class Signature
public final KeyLocator getKeyLocator()
public final void setSignature(Blob signature)
setSignature
in class Signature
signature
- A Blob with the signature bytes.public final void setKeyLocator(KeyLocator keyLocator)
public final long getChangeCount()
getChangeCount
in interface ChangeCountable
getChangeCount
in class Signature
Copyright © 2016. All rights reserved.