public class EcKeyUtil extends Object
| Constructor and Description |
|---|
EcKeyUtil() |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
generateKeyPair(ECParameterSpec spec) |
protected KeyFactory |
getKeyFactory() |
protected KeyPairGenerator |
getKeyPairGenerator() |
boolean |
isAvailable() |
ECPrivateKey |
privateKey(BigInteger d,
ECParameterSpec spec) |
ECPublicKey |
publicKey(BigInteger x,
BigInteger y,
ECParameterSpec spec) |
public static final String EC
public ECPublicKey publicKey(BigInteger x, BigInteger y, ECParameterSpec spec) throws JoseException
JoseExceptionpublic ECPrivateKey privateKey(BigInteger d, ECParameterSpec spec) throws JoseException
JoseExceptionpublic KeyPair generateKeyPair(ECParameterSpec spec) throws JoseException
JoseExceptionprotected KeyFactory getKeyFactory() throws JoseException
JoseExceptionprotected KeyPairGenerator getKeyPairGenerator() throws JoseException
JoseExceptionpublic boolean isAvailable()
Copyright © 2015. All rights reserved.