- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for mac (0.22 sec)
-
src/main/java/jcifs/internal/SMBSigningDigest.java
*/ package jcifs.internal; /** * @author mbechler * */ public interface SMBSigningDigest { /** * Performs MAC signing of the SMB. This is done as follows. * The signature field of the SMB is overwritten with the sequence number; * The MD5 digest of the MAC signing key + the entire SMB is taken; * The first 8 bytes of this are placed in the signature field. * * @param data
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 15.7K bytes - Viewed (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 ( byte[] macSigningKey ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
hmac.update(serverChallenge); hmac.update(clientData, offset, length); byte[] mac = hmac.digest(); byte[] ret = new byte[mac.length + clientData.length]; System.arraycopy(mac, 0, ret, 0, mac.length); System.arraycopy(clientData, 0, ret, mac.length, clientData.length); return ret; } /** * * @param domain * @param username
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
int ms_usage = mapArcfourMD5KeyUsage(keyusage); Mac mac = Mac.getInstance("HmacMD5"); MessageDigest md = MessageDigest.getInstance("MD5"); mac.init(key); byte[] dk = mac.doFinal(MD5_CONSTANT); try { // little endian md.update((byte) ( ms_usage & 0xFF ));
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
private static void testJavaHMAC ( String key, byte[] bytes, String expect ) throws NoSuchAlgorithmException, InvalidKeyException { Mac m = Mac.getInstance("HmacMD5"); m.init(new SecretKeySpec(Hex.decode(key), "HMAC")); byte[] mac = m.doFinal(bytes); checkBytes(Hex.decode(expect), mac); } @Test public void testRC4Checksum1 () throws PACDecodingException, GeneralSecurityException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
log.flush(); } updates = 0; return b; } /** * Performs MAC signing of the SMB. This is done as follows. * The signature field of the SMB is overwritted with the sequence number; * The MD5 digest of the MAC signing key + the entire SMB is taken; * The first 8 bytes of this are placed in the signature field. * * @param data The data.
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } public String getUserRealm () { return this.userRealm; } public String getUserPrincipalName () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
checkNodeStatusData(); return isPermanent; } /** * Retrieves the MAC address of the remote network interface. Samba returns all zeros. * * @return the MAC address as an array of six bytes * @throws UnknownHostException if the host cannot be resolved to * determine the MAC address. */ public byte[] getMacAddress() throws UnknownHostException { checkNodeStatusData();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0)