- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 86 for MAC (0.01 seconds)
-
src/test/java/jcifs/pac/PacMacTest.java
// Using a key with a known value for reproducibility SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2);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/NetbiosAddress.java
/** * Retrieves the MAC address of the remote network interface. Samba returns all zeros. * * @param tc * context to use * * @return the MAC address as an array of six bytes * @throws UnknownHostException * if the host cannot be resolved to * determine the MAC address. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* signing/verifying SMB using kerberos session key. * The MAC Key = concat(Session Key, Digest of Challenge); * Because of Kerberos Authentication don't have challenge, * The MAC Key = Session Key * * @param macSigningKey * The MAC key used to sign or verify SMB. */ public SMB1SigningDigest(final byte[] macSigningKey) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 19:29:10 GMT 2021 - 10.5K bytes - Click Count (0) -
internal/kms/kms.go
return plaintext, err } // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS. func (k *KMS) MAC(ctx context.Context, req *MACRequest) ([]byte, error) { if req.Name == "" { req.Name = k.DefaultKey } start := time.Now() mac, err := k.conn.MAC(ctx, req) k.updateMetrics(err, time.Since(start)) return mac, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
internal/kms/secret-key.go
if err != nil { return nil, ErrDecrypt } return plaintext, nil } // MAC generate hmac for the request func (s secretKey) MAC(_ context.Context, req *MACRequest) ([]byte, error) { mac := hmac.New(sha256.New, s.key) mac.Write(req.Message) return mac.Sum(make([]byte, 0, mac.Size())), nil } // parseCiphertext parses and converts a ciphertext into // the format expected by a secretKey.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
/** * <code>line.separator</code> system property. For example, on Mac OS X: <code>"\n"</code> */ public static final String LINE_SEPARATOR = System.getProperty("line.separator"); /** * <code>path.separator</code> system property. For example, on Mac OS X: <code>":"</code> */ public static final String PATH_SEPARATOR = System.getProperty("path.separator");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 4.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java
* <p> * This service provides a platform-independent way to: * <ul> * <li>Query basic OS information like name, architecture, and version</li> * <li>Determine the OS family (e.g., Windows, Unix, Mac)</li> * <li>Check if the current OS is Windows-based</li> * </ul> * <p> * The service implementation uses system properties to detect OS characteristics: * <ul> * <li>os.name: The operating system name</li>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 10 14:12:18 GMT 2025 - 3.5K bytes - Click Count (0) -
.gitignore
.project .classpath .settings/ .svn/ .jbang/ # Intellij *.ipr *.iml .idea !.idea/icon.png /bootstrap /dependencies.xml .java-version .checkstyle .factorypath # VSCode .vscode/ # Mac
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 14 10:54:20 GMT 2025 - 209 bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
} @Test public void testCapitalOsName() { Profile profile = newProfile(ActivationOS.newBuilder() .family("Mac") .name("Mac OS X") .arch("aarch64") .version("14.5")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.3K bytes - Click Count (0)