Class JwkOctet


  • public class JwkOctet
    extends Jwk
    Symmetric cipher JSON web key.
    • Method Detail

      • builder

        public static JwkOctet.Builder builder()
        Create a builder instance.
        Returns:
        builder ready to create a new JwkOctet instance.
      • getKeyBytes

        public byte[] getKeyBytes()
        Get the bytes of the secret key.
        Returns:
        byte array of the secret key
      • doVerify

        public boolean doVerify​(byte[] signedBytes,
                                byte[] signature)
      • doSign

        public byte[] doSign​(byte[] bytesToSign)