Interface SecpKeyPair
- All Superinterfaces:
AsymmetricKey, DEREncodablePREVIEW, Destroyable, ECKey, ECPrivateKey, Key, PrivateKey, SecpPrivKey, Serializable
- All Known Implementing Classes:
SecpKeyPairImpl
A single object containing a private key and its derived public key.
-
Field Summary
Fields inherited from interface ECPrivateKey
serialVersionUID -
Method Summary
Modifier and TypeMethodDescriptionstatic SecpKeyPairof(SecpPrivKey privKey, SecpPubKey pubKey) Create a keypair from a private key and its matching public keyGet the private keyGet the public keyMethods inherited from interface Destroyable
isDestroyedMethods inherited from interface SecpPrivKey
destroy, getAlgorithm, getEncoded, getFormat, getParams, getS
-
Method Details
-
publicKey
-
privateKey
-
of
Create a keypair from a private key and its matching public key- Parameters:
privKey- private keypubKey- matching public key- Returns:
- key pair
-