Package com.bld.crypto.jks.config.data
Class CipherJks
java.lang.Object
com.bld.crypto.jks.config.data.CipherJks
The Class CipherJks.
-
Constructor Summary
ConstructorsConstructorDescriptionCipherJks(PrivateKey privateKey, PublicKey publicKey, io.jsonwebtoken.SignatureAlgorithm algorithm) Instantiates a new cipher jks. -
Method Summary
Modifier and TypeMethodDescriptionio.jsonwebtoken.SignatureAlgorithmGets the algorithm.Gets the private key.Gets the public key.
-
Constructor Details
-
CipherJks
public CipherJks(PrivateKey privateKey, PublicKey publicKey, io.jsonwebtoken.SignatureAlgorithm algorithm) Instantiates a new cipher jks.- Parameters:
privateKey- the private keypublicKey- the public keyalgorithm- the algorithm
-
-
Method Details
-
getPrivateKey
Gets the private key.- Returns:
- the private key
-
getPublicKey
Gets the public key.- Returns:
- the public key
-
getAlgorithm
public io.jsonwebtoken.SignatureAlgorithm getAlgorithm()Gets the algorithm.- Returns:
- the algorithm
-