Class KeyPair
java.lang.Object
com.codename1.security.KeyPair
A matched pair of PublicKey / PrivateKey. Typically produced by
invalid reference
KeyGenerator#generateRsaKeyPair(int)
-
Constructor Summary
ConstructorsConstructorDescriptionKeyPair(PublicKey publicKey, PrivateKey privateKey) Bundles an already-paired public/private key. -
Method Summary
Modifier and TypeMethodDescriptionReturns the private part of this pair.Returns the public part of this pair.
-
Constructor Details
-
KeyPair
Bundles an already-paired public/private key.
-
-
Method Details
-
getPublicKey
Returns the public part of this pair. -
getPrivateKey
Returns the private part of this pair.
-