Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for isSigned (0.04 sec)

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

            }
        }
    
        @Nested
        @DisplayName("Signed Flag Tests")
        class SignedFlagTests {
    
            @Test
            @DisplayName("Should detect signed flag")
            void testIsSigned() {
                assertFalse(echoResponse.isSigned());
    
                echoResponse.addFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(echoResponse.isSigned());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        @Nested
        @DisplayName("Signature Tests")
        class SignatureTests {
    
            @Test
            @DisplayName("Should detect signed packet")
            void testIsSigned() {
                response.setFlagsForTest(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(response.isSigned());
            }
    
            @Test
            @DisplayName("Should detect unsigned packet")
            void testIsNotSigned() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public final boolean isError() {
            return this.error;
        }
    
        /**
         * Checks whether this SMB2 response packet has been signed.
         *
         * @return whether the packet has been signed.
         */
        public boolean isSigned() {
            return (getFlags() & SMB2_FLAGS_SIGNED) != 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
                    }
    
                    boolean signed = response != null && response.isSigned();
                    if (!anonymous && (isSignatureSetupRequired() || signed)) {
                        byte[] signingKey = ctx.getSigningKey();
                        if (signingKey != null && response != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File Internal Information.
     * Provides access to the file's internal index number, which is a unique identifier
     * assigned by the file system for internal tracking and reference purposes.
     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. docs/tls/kubernetes/README.md

    For testing purposes, here is [how to create self-signed certificates](https://github.com/minio/minio/tree/master/docs/tls#3-generate-self-signed-certificates).
    
    ## 2. Create Kubernetes secret
    
    [Kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret) are intended to hold sensitive information.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. docs/tls/README.md

    * A certificate signed by a CA contains information about the issued identity (e.g. name, expiry, public key) and any intermediate certificates. The root CA is not included.
    
    ## 3. Generate and use Self-signed Keys and Certificates with MinIO
    
    This section describes how to generate a self-signed certificate using various tools:
    
    * 3.1 [Use certgen to Generate a Certificate](#using-go)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

     * signed versions of methods for which signedness is an issue.
     *
     * <p>In addition, this class provides several static methods for converting a {@code long} to a
     * {@code String} and a {@code String} to a {@code long} that treat the {@code long} as an unsigned
     * number.
     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match");
            assertEquals(mockSid1, lsarSidArrayX.sids[0].sid, "First SID should be assigned directly");
            assertEquals(mockSid2, lsarSidArrayX.sids[1].sid, "Second SID should be assigned directly");
        }
    
        @Test
        void testConstructorWithEmptySIDArray() {
            jcifs.SID[] sids = {};
            LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            response.readParameterWordsWireFormat(buffer, 0);
    
            // File size is stored as signed int
            long expectedSize = (int) fileSize;
            assertEquals(expectedSize, response.getSize());
        }
    
        @Test
        void testFileSizeOverflow() {
            // Test file size that overflows signed int
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top