Searched refs:encryptionMethod (Results 1 - 11 of 11) sorted by relevance

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DEncryptedJwtDeviceSerialisation.java38 private final EncryptionMethod encryptionMethod; field in class:EncryptedJwtDeviceSerialisation
41 public EncryptedJwtDeviceSerialisation(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm, argument
43 Reject.ifNull(encryptionMethod, jweAlgorithm, encryptionKeyPair);
48 this.encryptionMethod = encryptionMethod;
55 .headers().enc(encryptionMethod).alg(jweAlgorithm).done()
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DEncryptedJwtDeviceSerialisation.java38 private final EncryptionMethod encryptionMethod; field in class:EncryptedJwtDeviceSerialisation
41 public EncryptedJwtDeviceSerialisation(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm, argument
43 Reject.ifNull(encryptionMethod, jweAlgorithm, encryptionKeyPair);
48 this.encryptionMethod = encryptionMethod;
55 .headers().enc(encryptionMethod).alg(jweAlgorithm).done()
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openidconnect/
H A DOpenIdConnectTokenTest.java72 JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod) throws Exception {
76 Key encryptionKey = getEncryptionKey(encryptionAlgorithm, encryptionMethod);
77 Key decryptionKey = getDecryptionKey(encryptionAlgorithm, encryptionMethod);
83 encryptionMethod == null ? null : encryptionMethod.toString(), encryptionAlgorithm != null, "issuer",
99 .containsEntry("enc", encryptionMethod.toString());
121 private Key getEncryptionKey(JweAlgorithm algorithm, EncryptionMethod encryptionMethod) { argument
131 return new SecretKeySpec(new byte[encryptionMethod.getKeySize() / 8], "AES");
144 private Key getDecryptionKey(JweAlgorithm algorithm, EncryptionMethod encryptionMethod) { argument
154 return new SecretKeySpec(new byte[encryptionMethod
71 shouldSupportAllSigningAndEncryptionModes(JwsAlgorithm signingAlgorithm, JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod) argument
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/services/
H A DEncryptedDeviceStorage.java125 return new EncryptedJwtDeviceSerialisation(encryptionScheme.encryptionMethod,
139 private final EncryptionMethod encryptionMethod; field in class:EncryptedDeviceStorage.SupportedEncryptionScheme
142 SupportedEncryptionScheme(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm) { argument
143 this.encryptionMethod = encryptionMethod;
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/
H A DOpenIdConnectToken.java68 private final String encryptionMethod; field in class:OpenIdConnectToken
82 * @param encryptionMethod The encryption method.
101 Key encryptionKey, String signingAlgorithm, String encryptionAlgorithm, String encryptionMethod,
110 this.encryptionMethod = encryptionMethod;
140 this.encryptionMethod = null;
382 if (isIDTokenEncryptionEnabled && (isEmpty(encryptionAlgorithm) || isEmpty(encryptionMethod)
385 encryptionMethod);
387 "ID Token Encryption not set. algorithm: " + encryptionAlgorithm + ", method: " + encryptionMethod);
394 encryptionMethod);
100 OpenIdConnectToken(String signingKeyId, String encryptionKeyId, byte[] clientSecret, KeyPair signingKeyPair, Key encryptionKey, String signingAlgorithm, String encryptionAlgorithm, String encryptionMethod, boolean isIDTokenEncryptionEnabled, String iss, String sub, String aud, String azp, long exp, long iat, long authTime, String nonce, String ops, String atHash, String cHash, String acr, List<String> amr, String auditTrackingId, String realm) argument
[all...]
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/services/
H A DAuthenticatorOathService.java113 return new EncryptedJwtDeviceSerialisation(encryptionScheme.encryptionMethod,
188 private final EncryptionMethod encryptionMethod; field in class:AuthenticatorOathService.SupportedOathEncryptionScheme
191 SupportedOathEncryptionScheme(final EncryptionMethod encryptionMethod, final JweAlgorithm jweAlgorithm) { argument
192 this.encryptionMethod = encryptionMethod;
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sso/providers/stateless/
H A DJwtSessionMapperBuilderTest.java150 public void shouldCreateCorrectHandlerForRSAEncryption(String paddingMode, String encryptionMethod) { argument
155 "A128CBC-HS256")).willReturn(encryptionMethod);
163 assertThat(testBuilder.encryptionMethod).isEqualTo(EncryptionMethod.parseMethod(encryptionMethod));
180 assertThat(testBuilder.encryptionMethod).isEqualTo(EncryptionMethod.A192GCM);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DJwtSessionMapper.java69 private final EncryptionMethod encryptionMethod; field in class:JwtSessionMapper
89 this.encryptionMethod = builder.encryptionMethod;
113 .enc(encryptionMethod)
H A DJwtSessionMapperBuilder.java69 EncryptionMethod encryptionMethod = null; field in class:JwtSessionMapperBuilder
330 encryptionMethod = EncryptionMethod.parseMethod(
333 Reject.ifNull(encryptionMethod, "Encryption enabled but no EncryptionMethod specified");
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMClientRegistration.java557 final EncryptionMethod encryptionMethod =
559 return getSymmetricEncryptionKey(encryptionMethod.getKeySize());
H A DStatefulTokenStore.java260 String encryptionMethod = clientRegistration.getIDTokenEncryptionResponseMethod();
313 encryptionMethod, clientRegistration.isIDTokenEncryptionEnabled(), iss, subId, clientId,

Completed in 63 milliseconds