public interface IPrivateKey
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createSignature(byte[] message)
Creates a cryptographic signature (with this private key) of a message.
|
byte[] |
decryptMessage(byte[] message)
Decrypts an encrypted message (with this private key).
|
boolean |
equals(java.lang.Object obj)
Every private key has to implement a comparison operator.
|
byte[] createSignature(byte[] message)
message - The message which should be signedbyte[] decryptMessage(byte[] message)
throws java.io.IOException
message - The encrypted message, which should be decryptedjava.io.IOExceptionboolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object of the type AbstractCertificate that should be compared to the current private keyObject.equals(java.lang.Object)