- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for calculateMac (0.15 sec)
-
src/main/java/jcifs/pac/PacMac.java
return u * v / a; } /** * @param type * @param keys * @return the calculated mac * @throws PACDecodingException */ public static byte[] calculateMac ( int type, Map<Integer, KerberosKey> keys, byte[] data ) throws PACDecodingException { try { int usage = 17; if ( type == PacSignature.KERB_CHECKSUM_HMAC_MD5 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
this.serverSignature.getType(), Hexdump.toHexString(this.serverSignature.getChecksum()))); } byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData); if ( !MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum) ) { if ( log.isDebugEnabled() ) { log.debug(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
return this.mechContext.isPreferredMech(mech); } @Override public byte[] calculateMIC ( byte[] data ) throws CIFSException { if ( !this.completed ) { throw new CIFSException("Context is not established"); } return this.mechContext.calculateMIC(data); } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 14.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
* @return whether this mechanisms supports integrity */ boolean supportsIntegrity (); /** * @param data * @return MIC * @throws CIFSException */ byte[] calculateMIC ( byte[] data ) throws CIFSException; /** * @param data * @param mic * @throws CIFSException */ void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
return true; } /** * {@inheritDoc} * * @throws CIFSException * * @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)); }
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/main/java/jcifs/smb/NtlmContext.java
} @Override public boolean isMICAvailable () { return !this.auth.isGuest() && this.signKey != null && this.verifyKey != null; } @Override public byte[] calculateMIC ( byte[] data ) throws CIFSException { byte[] sk = this.signKey; if ( sk == null ) { throw new CIFSException("Signing is not initialized"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0)