Package org.webpki.json
Class JSONCryptoHelper
java.lang.Object
org.webpki.json.JSONCryptoHelper
Common crypto support for JSF and JEF.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
For building "extensions" decodersstatic class
Holds list of supported "extensions" decoders.static enum
KeyID parameter to Optionsstatic class
Common JEF/JSF decoding options.static enum
Public key parameter to Options -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateKey
decodePrivateKey
(JSONObjectReader rd, PublicKey publicKey) static PublicKey
decodePublicKey
(JSONObjectReader rd, AlgorithmPreferences algorithmPreferences)
-
Field Details
-
ALGORITHM_JSON
- See Also:
-
CERTIFICATE_PATH_JSON
- See Also:
-
CHAIN_JSON
- See Also:
-
CIPHER_TEXT_JSON
- See Also:
-
CRV_JSON
- See Also:
-
E_JSON
- See Also:
-
ENCRYPTED_KEY_JSON
- See Also:
-
EPHEMERAL_KEY_JSON
- See Also:
-
EXCLUDES_JSON
- See Also:
-
EXTENSIONS_JSON
- See Also:
-
IV_JSON
- See Also:
-
KEY_ENCRYPTION_JSON
- See Also:
-
KEY_ID_JSON
- See Also:
-
KTY_JSON
- See Also:
-
N_JSON
- See Also:
-
PUBLIC_KEY_JSON
- See Also:
-
RECIPIENTS_JSON
- See Also:
-
SIGNERS_JSON
- See Also:
-
TAG_JSON
- See Also:
-
VALUE_JSON
- See Also:
-
X_JSON
- See Also:
-
Y_JSON
- See Also:
-
-
Method Details
-
decodePublicKey
public static PublicKey decodePublicKey(JSONObjectReader rd, AlgorithmPreferences algorithmPreferences) -
decodePrivateKey
-