Package com.bld.crypto.jks.config.data
Class CipherJks
- java.lang.Object
-
- com.bld.crypto.jks.config.data.CipherJks
-
public final class CipherJks extends Object
The Class CipherJks.
-
-
Constructor Summary
Constructors Constructor Description CipherJks(PrivateKey privateKey, PublicKey publicKey, io.jsonwebtoken.SignatureAlgorithm algorithm)Instantiates a new cipher jks.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jsonwebtoken.SignatureAlgorithmgetAlgorithm()Gets the algorithm.PrivateKeygetPrivateKey()Gets the private key.PublicKeygetPublicKey()Gets the public key.
-
-
-
Constructor Detail
-
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 Detail
-
getPrivateKey
public PrivateKey getPrivateKey()
Gets the private key.- Returns:
- the private key
-
getPublicKey
public PublicKey getPublicKey()
Gets the public key.- Returns:
- the public key
-
getAlgorithm
public io.jsonwebtoken.SignatureAlgorithm getAlgorithm()
Gets the algorithm.- Returns:
- the algorithm
-
-