Class CipherJks


  • public final class CipherJks
    extends Object
    The Class CipherJks.
    • Constructor Detail

      • CipherJks

        public CipherJks​(PrivateKey privateKey,
                         PublicKey publicKey,
                         io.jsonwebtoken.SignatureAlgorithm algorithm)
        Instantiates a new cipher jks.
        Parameters:
        privateKey - the private key
        publicKey - the public key
        algorithm - 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