- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getHmac (0.14 sec)
-
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
byte[] code = new byte[4]; Encdec.enc_uint32le(2, code, 0); byte[] codeHmac = getHmac(code, key.getEncoded()); byte[] dataChecksum = new byte[KerberosConstants.CHECKSUM_SIZE]; System.arraycopy(data, 0, dataChecksum, 0, KerberosConstants.CHECKSUM_SIZE); byte[] dataHmac = getHmac(dataChecksum, codeHmac); SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
* * @see jcifs.smb.SSPContext#calculateMIC(byte[]) */ @Override public byte[] calculateMIC ( byte[] data ) throws CIFSException { try { return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false)); } catch ( GSSException e ) { throw new CIFSException("Failed to calculate MIC", e); } } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Aug 02 08:22:42 UTC 2018 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
Assert.assertEquals(1, ed.getUserAuthorizations().size()); KerberosPacAuthData pacData = (KerberosPacAuthData) ed.getUserAuthorizations().get(0); Pac pac = pacData.getPac(); PacLogonInfo li = pac.getLogonInfo(); Assert.assertEquals("test1", li.getUserName()); } finally { Files.deleteIfExists(p); Files.deleteIfExists(krbConfig);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertEquivalent(stats.mean(), streamStats.getAverage()); assertEquivalent(stats.sum(), streamStats.getSum()); assertEquivalent(stats.max(), streamStats.getMax()); assertEquivalent(stats.min(), streamStats.getMin()); } } private static void assertEquivalent(double actual, double expected) { if (expected == POSITIVE_INFINITY) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)