- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for key (0.15 sec)
-
src/main/java/jcifs/util/Crypto.java
} /** * @param key * 7-byte "raw" DES key * @return 8-byte DES key with parity */ static byte[] des7to8 ( byte[] key ) { byte key8[] = new byte[8]; key8[ 0 ] = (byte) ( key[ 0 ] & 0xFE ); key8[ 1 ] = (byte) ( ( key[ 0 ] << 7 ) | ( ( key[ 1 ] & 0xFF ) >>> 1 ) ); key8[ 2 ] = (byte) ( ( key[ 1 ] << 6 ) | ( ( key[ 2 ] & 0xFF ) >>> 2 ) );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Aug 17 17:34:29 GMT 2021 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
* @param data * @param key * @throws GeneralSecurityException */ private static void verifyAESMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException { verifyAESHMAC(usage, expect, key, Hex.decode(data)); } private static void verifyArcfourHMAC ( int usage, String expect, String data, String key ) throws 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/jcifs/pac/PacMac.java
if ( type == PacSignature.KERB_CHECKSUM_HMAC_MD5 ) { KerberosKey key = keys.get(PacSignature.ETYPE_ARCFOUR_HMAC); if ( key == null ) { throw new PACDecodingException("Missing key"); } return calculateMacArcfourHMACMD5(usage, key, data); }
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/main/java/jcifs/pac/kerberos/KerberosEncData.java
public static byte[] decrypt ( byte[] data, Key key, int type ) throws GeneralSecurityException { Cipher cipher = null; byte[] decrypt = null; switch ( type ) { case KerberosConstants.DES_ENC_TYPE: decrypt = decryptDES(data, key, cipher); break; case KerberosConstants.RC4_ENC_TYPE: decrypt = decryptRC4(data, key); break; default:
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/smb/NtlmUtil.java
}; /* * Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */ static void E ( byte[] key, byte[] data, byte[] e ) throws ShortBufferException { byte[] key7 = new byte[7]; byte[] e8 = new byte[8]; for ( int i = 0; i < key.length / 7; i++ ) {
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/smb1/http/NtlmHttpURLConnection.java
Map map = new HashMap(); String key = connection.getHeaderFieldKey(0); String value = connection.getHeaderField(0); for (int i = 1; key != null || value != null; i++) { List values = (List) map.get(key); if (values == null) { values = new ArrayList(); map.put(key, values); } values.add(value);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
} /** * The real session key if the regular session key is actually * the encrypted version used for key exchange. * * @return A <code>byte[]</code> containing the session key. */ public byte[] getMasterKey() { return masterKey; } /** * Returns the session key. * * @return A <code>byte[]</code> containing the session key.
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
*/ public static final int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040; /** * Indicates that the LAN Manager session key should be used for * signing and sealing authenticated communication. */ public static final int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080; /** * ??? According to spec this is a reserved bit and must be set to zero */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0)