Class TokenUtilsSignEncryptTest


  • public class TokenUtilsSignEncryptTest
    extends Object
    Tests for TokenUtils encryptSignedClaims methods
    • Constructor Detail

      • TokenUtilsSignEncryptTest

        public TokenUtilsSignEncryptTest()
    • Method Detail

      • testEncryptSignedClaims

        public void testEncryptSignedClaims()
                                     throws Exception
        Throws:
        Exception
      • testEncryptSignedClaimsWithRsaOaep256

        public void testEncryptSignedClaimsWithRsaOaep256()
                                                   throws Exception
        Throws:
        Exception
      • testEncryptECSignedClaims

        public void testEncryptECSignedClaims()
                                       throws Exception
        Throws:
        Exception
      • testNestedSignedByRSKeyVerifiedByECKey

        public void testNestedSignedByRSKeyVerifiedByECKey()
                                                    throws Exception
        Throws:
        Exception
      • testNestedSignedByECKeyVerifiedByRSKey

        public void testNestedSignedByECKeyVerifiedByRSKey()
                                                    throws Exception
        Throws:
        Exception
      • testEncryptSignedClaimsWithoutCty

        public void testEncryptSignedClaimsWithoutCty()
                                               throws Exception
        Throws:
        Exception
      • testValidateSignedToken

        public void testValidateSignedToken()
                                     throws Exception
        Throws:
        Exception
      • testValidateEncryptedOnlyToken

        public void testValidateEncryptedOnlyToken()
                                            throws Exception
        Throws:
        Exception