/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/ |
H A D | EncryptedJwtDeviceSerialisation.java | 39 private final JweAlgorithm jweAlgorithm; field in class:EncryptedJwtDeviceSerialisation 41 public EncryptedJwtDeviceSerialisation(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm, argument 43 Reject.ifNull(encryptionMethod, jweAlgorithm, encryptionKeyPair); 49 this.jweAlgorithm = jweAlgorithm; 55 .headers().enc(encryptionMethod).alg(jweAlgorithm).done()
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/ |
H A D | EncryptedJwtDeviceSerialisation.java | 39 private final JweAlgorithm jweAlgorithm; field in class:EncryptedJwtDeviceSerialisation 41 public EncryptedJwtDeviceSerialisation(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm, argument 43 Reject.ifNull(encryptionMethod, jweAlgorithm, encryptionKeyPair); 49 this.jweAlgorithm = jweAlgorithm; 55 .headers().enc(encryptionMethod).alg(jweAlgorithm).done()
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | JwtSessionMapperBuilder.java | 66 JweAlgorithm jweAlgorithm = null; field in class:JwtSessionMapperBuilder 243 this.jweAlgorithm = JweAlgorithm.parseAlgorithm( 273 this.jweAlgorithm = JweAlgorithm.A128KW; 276 this.jweAlgorithm = JweAlgorithm.A192KW; 279 this.jweAlgorithm = JweAlgorithm.A256KW; 305 this.jweAlgorithm = JweAlgorithm.DIRECT; 329 if (jweAlgorithm != null) { 337 Reject.ifTrue(jweAlgorithm.getAlgorithmType() == JweAlgorithmType.RSA && jwsAlgorithm == JwsAlgorithm.NONE,
|
H A D | JwtSessionMapper.java | 68 final JweAlgorithm jweAlgorithm; field in class:JwtSessionMapper 88 this.jweAlgorithm = builder.jweAlgorithm; 109 if (jweAlgorithm != null) { 112 .alg(jweAlgorithm) 149 if (jweAlgorithm != null) {
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/services/ |
H A D | EncryptedDeviceStorage.java | 126 encryptionScheme.jweAlgorithm, 140 private final JweAlgorithm jweAlgorithm; field in class:EncryptedDeviceStorage.SupportedEncryptionScheme 142 SupportedEncryptionScheme(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm) { argument 144 this.jweAlgorithm = jweAlgorithm;
|
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/services/ |
H A D | AuthenticatorOathService.java | 114 encryptionScheme.jweAlgorithm, getEncryptionKeyPair()); 189 private final JweAlgorithm jweAlgorithm; field in class:AuthenticatorOathService.SupportedOathEncryptionScheme 191 SupportedOathEncryptionScheme(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm) { argument 193 this.jweAlgorithm = jweAlgorithm;
|
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openidconnect/ |
H A D | OpenIdConnectTokenTest.java | 176 for (JweAlgorithm jweAlgorithm : JweAlgorithm.values()) { 177 if (jweAlgorithm.getAlgorithmType() == JweAlgorithmType.AES_KEYWRAP) { 178 if (jweAlgorithm != JweAlgorithm.A128KW && Cipher.getMaxAllowedKeyLength("AES") < 192) { 196 results.add(new Object[] { jwsAlgorithm, jweAlgorithm, encryptionMethod });
|
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | JwtSessionMapperBuilderTest.java | 146 assertThat(testBuilder.jweAlgorithm).isEqualTo(JweAlgorithm.RSA_OAEP_256); 162 assertThat(testBuilder.jweAlgorithm).isEqualTo(JweAlgorithm.parseAlgorithm(paddingMode)); 179 assertThat(testBuilder.jweAlgorithm).isEqualTo(JweAlgorithm.DIRECT); 192 assertThat(testBuilder.jweAlgorithm).isEqualTo(expectedAlgorithm);
|
H A D | JwtSessionMapperConfigTest.java | 82 assertThat(result.jweAlgorithm).isEqualTo(JweAlgorithm.RSA_OAEP_256); 91 assertThat(result.jweAlgorithm).isEqualTo(JweAlgorithm.DIRECT); 101 assertThat(result.jweAlgorithm).isEqualTo(expectedAlgorithm);
|
H A D | JwtSessionMapperTest.java | 83 public void canRoundtripSessionInfoAsSignedEncryptedJwtUsingDifferentAlgs(JweAlgorithm jweAlgorithm) argument 90 switch (jweAlgorithm.getAlgorithmType()) {
|
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMClientRegistrationTest.java | 277 public void shouldReturnCorrectEncryptionKey(JweAlgorithm jweAlgorithm, Key key) throws Exception { argument 278 when(amIdentity.getAttribute("idTokenEncryptionAlgorithm")).thenReturn(singleton(jweAlgorithm.toString()));
|