Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 279 for security2 (0.81 sec)

  1. src/main/java/jcifs/pac/PacSidAttributes.java

        /**
         * Constructs a new PacSidAttributes instance.
         *
         * @param id the Security Identifier
         * @param attributes the attribute flags associated with the SID
         */
        public PacSidAttributes(final SID id, final int attributes) {
            this.id = id;
            this.attributes = attributes;
        }
    
        /**
         * Gets the Security Identifier.
         *
         * @return the SID associated with this instance
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Crypto.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    import java.security.InvalidKeyException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.Provider;
    
    import javax.crypto.Cipher;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.spec.SecretKeySpec;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.security;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    
    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with valid security descriptor")
        void testReadDataWireFormatWithValidSecurityDescriptor() throws Exception {
            // Create a minimal valid security descriptor buffer
            byte[] buffer = createValidSecurityDescriptorBuffer();
    
            // Set error code to 0
            setErrorCode(response, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            final int negotiateContextOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Validate security buffer parameters
            if (securityBufferLength < 0 || securityBufferLength > 65536) { // 64KB max for security buffer
                throw new SMBProtocolDecodingException("Invalid security buffer length: " + securityBufferLength + " (must be 0-65536)");
            }
            if (securityBufferOffset < 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.security.GeneralSecurityException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
            assertEquals(0x01, serverData.security);
            assertTrue(serverData.encryptedPasswords);
            assertTrue(serverData.signaturesEnabled);
            assertTrue(serverData.signaturesRequired);
            assertEquals(50, serverData.maxMpxCount);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Collections;
    
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top