Class EvaluableMACKeyLengthCredentialCriterionTest
- java.lang.Object
-
- net.shibboleth.oidc.security.credential.impl.EvaluableMACKeyLengthCredentialCriterionTest
-
public class EvaluableMACKeyLengthCredentialCriterionTest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classEvaluableMACKeyLengthCredentialCriterionTest.MockCredentialA no-op mock credential.
-
Field Summary
Fields Modifier and Type Field Description private static StringCLIENT_SECRET_256A 256 bit client_secret.
-
Constructor Summary
Constructors Constructor Description EvaluableMACKeyLengthCredentialCriterionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstraintViolationException_NullKey()voidtestConstraintViolationException_WrongAlgType()voidtestFail_KeyToSmall()The key is too small for the HS512 alg.voidtestSucccess()
-
-
-
Field Detail
-
CLIENT_SECRET_256
private static final String CLIENT_SECRET_256
A 256 bit client_secret.- See Also:
- Constant Field Values
-
-
Method Detail
-
testSucccess
public void testSucccess()
-
testFail_KeyToSmall
public void testFail_KeyToSmall()
The key is too small for the HS512 alg.
-
testConstraintViolationException_WrongAlgType
public void testConstraintViolationException_WrongAlgType()
-
testConstraintViolationException_NullKey
public void testConstraintViolationException_NullKey()
-
-