Package org.jose4j.keys
Class XDHKeyUtil
java.lang.Object
org.jose4j.keys.KeyPairUtil
org.jose4j.keys.OctetKeyPairUtil
org.jose4j.keys.XDHKeyUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final BigIntegerprivate static final BigIntegerstatic final Stringstatic final StringFields inherited from class org.jose4j.keys.KeyPairUtil
provider, secureRandom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Stringstatic booleanisXECPrivateKey(Key key) static booleanisXECPublicKey(Key key) privateKey(byte[] privateKeyBytes, String name) byte[]rawPrivateKey(PrivateKey privateKey) byte[]rawPublicKey(Key key) Methods inherited from class org.jose4j.keys.OctetKeyPairUtil
generateKeyPair, getNamedParameterSpec, getOctetKeyPairUtilMethods inherited from class org.jose4j.keys.KeyPairUtil
fromPemEncoded, getKeyFactory, getKeyPairGenerator, isAvailable, pemEncode
-
Field Details
-
X25519
- See Also:
-
X448
- See Also:
-
P_X25519
-
P_X448
-
-
Constructor Details
-
XDHKeyUtil
public XDHKeyUtil() -
XDHKeyUtil
-
-
Method Details
-
rawPublicKey
- Specified by:
rawPublicKeyin classOctetKeyPairUtil
-
rawPrivateKey
- Specified by:
rawPrivateKeyin classOctetKeyPairUtil
-
publicKey
- Specified by:
publicKeyin classOctetKeyPairUtil- Throws:
JoseException
-
privateKey
- Specified by:
privateKeyin classOctetKeyPairUtil- Throws:
JoseException
-
getAlgorithm
String getAlgorithm()- Specified by:
getAlgorithmin classKeyPairUtil
-
isXECPublicKey
-
isXECPrivateKey
-