Liking cljdoc? Tell your friends :D

jdk.security.KeyPair

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.

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.
raw docstring

->key-pairclj

(->key-pair public-key private-key)

Constructor.

Constructs a key pair from the given public key and private key.

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.

public-key - the public key. - java.security.PublicKey private-key - the private key. - java.security.PrivateKey

Constructor.

Constructs a key pair from the given public key and private key.

 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.

public-key - the public key. - `java.security.PublicKey`
private-key - the private key. - `java.security.PrivateKey`
raw docstring

get-privateclj

(get-private this)

Returns a reference to the private key component of this key pair.

returns: a reference to the private key. - java.security.PrivateKey

Returns a reference to the private key component of this key pair.

returns: a reference to the private key. - `java.security.PrivateKey`
raw docstring

get-publicclj

(get-public this)

Returns a reference to the public key component of this key pair.

returns: a reference to the public key. - java.security.PublicKey

Returns a reference to the public key component of this key pair.

returns: a reference to the public key. - `java.security.PublicKey`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close