All Packages Class Hierarchy This Package Previous Next Index
Class is.hi.logir.cryptonite.Signature
java.lang.Object
|
+----is.hi.logir.cryptonite.Cryptonite
|
+----is.hi.logir.cryptonite.Signature
- public class Signature
- extends Cryptonite
This class stores a signature.
- Author:
- Logi Ragnarsson
(logir@hi.is)
- See Also:
- Fingerprint, SignatureKey
-
Signature(byte[], String, Fingerprint)
- Create a new Signature object for the signature
s
which
was generated from a fingerprint using the specified
algorithm
.
-
getBytes()
- Return the bytes from this signature.
-
getFingerprintAlgorithm()
- Return the name of the algorithm used to fingerprint the data
before signing.
-
getKeyPrint()
- Return the fingerprint of the key used to verify this signature.
-
toString()
- Return a CDS for this object.
Signature
public Signature(byte s[],
String algorithm,
Fingerprint k)
- Create a new Signature object for the signature
s
which
was generated from a fingerprint using the specified
algorithm
. It can be verified with the key with Fingerprint
k
.
getFingerprintAlgorithm
public String getFingerprintAlgorithm()
- Return the name of the algorithm used to fingerprint the data
before signing.
getBytes
public byte[] getBytes()
- Return the bytes from this signature.
getKeyPrint
public Fingerprint getKeyPrint()
- Return the fingerprint of the key used to verify this signature.
toString
public String toString()
- Return a CDS for this object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index