Class JWEHeader

    • Constructor Detail

      • JWEHeader

        public JWEHeader()
      • JWEHeader

        public JWEHeader​(String algorithm,
                         String encryptionAlgorithm,
                         String compressionAlgorithm)
      • JWEHeader

        public JWEHeader​(String algorithm,
                         String encryptionAlgorithm,
                         String compressionAlgorithm,
                         String keyId)
    • Method Detail

      • getAlgorithm

        public String getAlgorithm()
      • getRawAlgorithm

        public String getRawAlgorithm()
        Description copied from interface: JOSEHeader
        Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
        Specified by:
        getRawAlgorithm in interface JOSEHeader
        Returns:
        the algorithm from the JOSE header
      • getEncryptionAlgorithm

        public String getEncryptionAlgorithm()
      • getCompressionAlgorithm

        public String getCompressionAlgorithm()
      • getType

        public String getType()
      • getContentType

        public String getContentType()