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.PrivateKey toPrivateKey() throws JOSEException
null
if not specified.JOSEException
- If conversion failed.KeyPair toKeyPair() throws JOSEException
null
if
not specified.JOSEException
- If conversion failed.Copyright © 2016 Connect2id Ltd.. All rights reserved.