Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setNonce (0.07 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         *
         * @return the nonce
         */
        public byte[] getNonce() {
            return this.nonce;
        }
    
        /**
         * Sets the nonce for encryption
         *
         * @param nonce
         *            the nonce to set (12 bytes for CCM, 16 bytes for GCM)
         */
        public void setNonce(final byte[] nonce) {
            if (nonce.length == 12) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .deprecated(DeprecatedAttributes.builder()
                                .setForRemoval(true)
                                .setSince("4.0.0")
                                .setDescription("Use -is,--install-settings instead.")
                                .get())
                        .get());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        public void close() {
            if (runner != null) {
                try {
                    client.admin()
                            .indices()
                            .prepareFlush()
                            .setForce(true)
                            .execute()
                            .actionGet(ComponentUtil.getFessConfig().getIndexIndicesTimeout());
                } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  7. lib/fips140/v1.0.0-c2097c7c.zip

    SetBytes. x {{ .Prefix }}MontgomeryDomainFiel } const {{ .Prefix }}ElementLen = {{ .BytesLen }} type {{ .Prefix }}UntypedFieldElement = {{ .FiatType }} // One sets e = 1, and returns e. func (e *{{ .Element }}) One() *{{ .Element }} { {{ .Prefix }}SetOne(&e.x) return e } // Equal returns 1 if e == t, and zero otherwise. func (e *{{ .Element }}) Equal(t *{{ .Element }}) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  8. lib/fips140/v1.1.0-rc1.zip

    SetBytes. x {{ .Prefix }}MontgomeryDomainFiel } const {{ .Prefix }}ElementLen = {{ .BytesLen }} type {{ .Prefix }}UntypedFieldElement = {{ .FiatType }} // One sets e = 1, and returns e. func (e *{{ .Element }}) One() *{{ .Element }} { {{ .Prefix }}SetOne(&e.x) return e } // Equal returns 1 if e == t, and zero otherwise. func (e *{{ .Element }}) Equal(t *{{ .Element }}) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top