- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for encryptionKey (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
* SMB dialect version * @param encryptionKey * key for client->server encryption * @param decryptionKey * key for server->client decryption */ public Smb2EncryptionContext(final int cipherId, final DialectVersion dialect, final byte[] encryptionKey, final byte[] decryptionKey) { this(cipherId, dialect, encryptionKey, decryptionKey, null, null, null); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
System.arraycopy(domainBytes, 0, buffer, bufferIndex, domainBytes.length); response.readBytesWireFormat(buffer, 0); assertArrayEquals(key, response.getServerData().encryptionKey); assertEquals("DOMAIN", response.getServerData().oemDomainName); } @Test public void testReadBytesWireFormatWithUnicode() throws UnsupportedEncodingException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/admin-handlers-site-replication.go
return } } func parseJSONBody(ctx context.Context, body io.Reader, v any, encryptionKey string) error { data, err := io.ReadAll(body) if err != nil { return SRError{ Cause: err, Code: ErrSiteReplicationInvalidRequest, } } if encryptionKey != "" { data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data)) if err != nil { return SRError{ Cause: err,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final byte[] encryptionKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, sessionKey, preauthHash); final byte[] decryptionKey = Smb3KeyDerivation.deriveDecryptionKey(dialectInt, sessionKey, preauthHash); // Pass session key and preauthHash to enable automatic key rotation return new Smb2EncryptionContext(cipherId, dialect, encryptionKey, decryptionKey, sessionKey, preauthHash);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
*/ @Test @DisplayName("Test byte array fields (encryptionKey and guid)") public void testByteArrayFields() { // Test encryptionKey byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; serverData.encryptionKey = key; assertNotNull(serverData.encryptionKey); assertArrayEquals(key, serverData.encryptionKey); // Test with empty arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.encryptionKey = new byte[this.server.encryptionKeyLength]; System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength); if (log.isDebugEnabled()) { log.debug(String.format("Have initial token %s", Hexdump.toHexString(this.server.encryptionKey, 0, this.server.encryptionKeyLength)));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
} else if (session.transport.server.encryptedPasswords) { lmHash = auth.getAnsiHash(session.transport.server.encryptionKey); ntHash = auth.getUnicodeHash(session.transport.server.encryptionKey); // prohibit HTTP auth attempts for the null session if (lmHash.length == 0 && ntHash.length == 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
if (server.encryptedPasswords) { this.lmHash = a.getAnsiHash(tc, server.encryptionKey); this.ntHash = a.getUnicodeHash(tc, server.encryptionKey); // prohibit HTTP auth attempts for the null session if (this.lmHash.length == 0 && this.ntHash.length == 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
final SmbSession ssn = trans.getSmbSession(NtlmPasswordAuthentication.DEFAULT); ssn.getSmbTree(LOGON_SHARE, null).treeConnect(null, null); } return new NtlmChallenge(trans.server.encryptionKey, dc); } /** * Retrieves an NTLM challenge from a domain controller for the configured domain. * * @return the NTLM challenge from the domain controller
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0)