Package org.web3j.crypto
Class Secp256k1JWK
java.lang.Object
org.web3j.crypto.Secp256k1JWK
This class consists in java representation of JWK file. It uses Builder pattern in order to
generate the JWK content from the BCEC asymetric keys receive as parameters. This class supports
generation of JWK only for ECDSA type keys that have secp256k1 curve.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getKty
-
getCrv
-
getX
-
getY
-
getD
-
isEcCoordBase64Valid
Returns true if the string is empty or contains only white space codepoints, otherwise false. This is specific only for secp256k1 curve encoded coordinates.- Parameters:
s- String value- Returns:
- is given string is Blank or not
-