Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setNonce (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // When/Then
            assertThrows(IllegalArgumentException.class, () -> {
                transformHeader.setNonce(shortNonce);
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                transformHeader.setNonce(longNonce);
            });
        }
    
        @Test
        @DisplayName("Should handle null signature")
        void testNullSignature() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("nonce: {}", nonce);
                }
                if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) {
                    throw new SsoLoginException("could not validate nonce");
                }
            } catch (final SsoLoginException e) {
                throw e;
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final Smb2TransformHeader transformHeader = Smb2TransformHeader.decode(encryptedMessage, 0);
                final byte[] associatedData = transformHeader.getAssociatedData();
                byte[] nonce = transformHeader.getNonce();
                final byte[] authTag = transformHeader.getSignature();
    
                // Extract ciphertext
                final int ciphertextLength = encryptedMessage.length - Smb2TransformHeader.TRANSFORM_HEADER_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top