Package org.webpki.json
Class JSONAsymKeySigner
java.lang.Object
org.webpki.json.JSONSigner
org.webpki.json.JSONAsymKeySigner
Initiator object for asymmetric key signatures.
-
Constructor Summary
ConstructorDescriptionJSONAsymKeySigner
(PrivateKey privateKey) Constructor for JCE based solutions.Constructor for custom crypto solutions. -
Method Summary
Modifier and TypeMethodDescriptionsetAlgorithm
(AsymSignatureAlgorithms algorithm) setAlgorithmPreferences
(AlgorithmPreferences algorithmPreferences) void
setExtensionNames
(String[] names, boolean encryptionMode) setPublicKey
(PublicKey publicKey) Methods inherited from class org.webpki.json.JSONSigner
getNormalizedData, setExcluded, setExtensionData, setExtensionNames, setKeyId
-
Constructor Details
-
JSONAsymKeySigner
Constructor for custom crypto solutions.- Parameters:
signer
- Handle to implementation
-
JSONAsymKeySigner
Constructor for JCE based solutions.- Parameters:
privateKey
- Private key
-
-
Method Details
-
setPublicKey
-
setAlgorithm
-
setAlgorithmPreferences
-
setExtensionNames
-