- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 136 for Mackey (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
return output; } private static byte[] getHmac(byte[] data, byte[] key) throws GeneralSecurityException { Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } /** * Returns the user's Kerberos realm. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// When byte[] encKey = Smb3KeyDerivation.deriveEncryptionKey(dialect, sessionKey, preauthIntegrity); // Then assertNotNull(encKey, "Encryption key should not be null"); assertEquals(16, encKey.length, "Encryption key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given byte[] encKey = new byte[16]; byte[] decKey = new byte[16]; new SecureRandom().nextBytes(encKey); new SecureRandom().nextBytes(decKey); // When using try-with-resources assertDoesNotThrow(() -> { try (Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, encKey, decKey)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try { boolean valid = encKey != null && encKey.length == expectedKeyLength && decKey != null && decKey.length == expectedKeyLength; return valid; } finally {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/netbios/NameServicePacketTest.java
packet.nameTrnId = 0x1234; packet.isResponse = true; packet.opCode = NameServicePacket.QUERY; packet.isAuthAnswer = true; packet.isTruncated = true; packet.isRecurDesired = true; packet.isRecurAvailable = true; packet.isBroadcast = true; packet.resultCode = NameServicePacket.FMT_ERR; packet.questionCount = 1; packet.answerCount = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
// Test field with CustomSize annotation for testing @CustomSize(minKey = "test.min", maxKey = "test.max") private String testField; // Test field with only minKey @CustomSize(minKey = "test.min.only") private String testFieldMinOnly; // Test field with only maxKey @CustomSize(maxKey = "test.max.only") private String testFieldMaxOnly; // Test field with custom messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test that the constructor correctly initializes the type and length fields. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type); assertEquals(6, packet.length); } @Test void writeTrailerWireFormatShouldReturnZero() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int totalRead = packet.readWireFormat(bais, data, 0); assertEquals(14, totalRead); // 4 header + 10 trailer assertEquals(0x85, packet.type); assertEquals(10, packet.length); } @Test @DisplayName("writeHeaderWireFormat should write correct header") void testWriteHeaderWireFormat() { packet.type = SessionServicePacket.SESSION_REQUEST;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java
@UriType(protocolType = ProtocolType.WEB) @CustomSize(maxKey = "form.admin.max.input.size") public String urls; /** * URL patterns to include during crawling. */ @CustomSize(maxKey = "form.admin.max.input.size") public String includedUrls; /** * URL patterns to exclude during crawling. */ @CustomSize(maxKey = "form.admin.max.input.size") public String excludedUrls;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (0)