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