public interface AssymetricJWK
Modifier and Type | Method and Description |
---|---|
KeyPair |
toKeyPair()
Returns a Java key pair representation of this JWK.
|
PrivateKey |
toPrivateKey()
Returns a Java private key representation of this JWK.
|
PublicKey |
toPublicKey()
Returns a Java public key representation of the JWK.
|
PublicKey toPublicKey() throws JOSEException
JOSEException
- If conversion failed or is not supported.PrivateKey toPrivateKey() throws JOSEException
null
if not specified.JOSEException
- If conversion failed or is not supported.KeyPair toKeyPair() throws JOSEException
null
if
not specified.JOSEException
- If conversion failed or is not supported.Copyright © 2017 Connect2id Ltd.. All rights reserved.