A - The type of PublicKey in the key pair.B - The type of PrivateKey in the key pair.public interface KeyPair<A extends PublicKey,B extends PrivateKey>
KeyPair. Instances may be
converted to KeyPair if desired via toJavaKeyPair().| Modifier and Type | Method and Description |
|---|---|
B |
getPrivate()
Returns the pair's private key.
|
A |
getPublic()
Returns the pair's public key.
|
KeyPair |
toJavaKeyPair()
Returns this instance as a
KeyPair instance. |
Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.