KeyPair

public class KeyPair

Fields

priKey

public final PrivateKey priKey

pubKey

public final PublicKey pubKey

Methods

getPrivateKey

public PrivateKey getPrivateKey()

Gets the PrivateKey object.

Returns:

the private key.

getPublicKey

public PublicKey getPublicKey()

Gets the PublicKey object.

Returns:

the public key.