Java java.security KeyPair fields, constructors, methods, implement or subclass

Example usage for Java java.security KeyPair fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security KeyPair.

The text is from its open source code.

Constructor

KeyPair(PublicKey publicKey, PrivateKey privateKey)
Constructs a key pair from the given public key and private key.

Method

PrivateKeygetPrivate()
Returns a reference to the private key component of this key pair.
PublicKeygetPublic()
Returns a reference to the public key component of this key pair.