Serializable
This class is a simple holder for a key pair (a public key and a private key). It does not enforce any security, and, when initialized, should be treated like a PrivateKey.
Constructors
Constructs a key pair from the given public key and private key.
Returns a reference to the private key component of this key pair.
Returns a reference to the public key component of this key pair.
Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Note that this constructor only stores references to the public and private key components in the generated key pair. This is safe, because Key
objects are immutable.
publicKey
- the public key.
privateKey
- the private key.
Returns a reference to the public key component of this key pair.
Returns a reference to the private key component of this key pair.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4