Package org.jose4j.keys
Class EcKeyUtil
java.lang.Object
org.jose4j.keys.EcKeyUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPemEncoded
(String pem) protected KeyFactory
protected KeyPairGenerator
boolean
static String
privateKey
(BigInteger d, ECParameterSpec spec) publicKey
(BigInteger x, BigInteger y, ECParameterSpec spec)
-
Field Details
-
EC
- See Also:
-
provider
-
secureRandom
-
-
Constructor Details
-
EcKeyUtil
public EcKeyUtil() -
EcKeyUtil
-
-
Method Details
-
publicKey
- Throws:
JoseException
-
privateKey
- Throws:
JoseException
-
generateKeyPair
- Throws:
JoseException
-
getKeyFactory
- Throws:
JoseException
-
getKeyPairGenerator
- Throws:
JoseException
-
fromPemEncoded
- Throws:
JoseException
InvalidKeySpecException
-
pemEncode
-
isAvailable
public boolean isAvailable()
-