- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for MIC (0.01 sec)
-
src/main/java/jcifs/smb/NtlmContext.java
} int ver = SMBUtil.readInt4(mic, 0); if ( ver != 1 ) { throw new SmbUnsupportedOperationException("Invalid signature version"); } MessageDigest mac = Crypto.getHMACT64(sk); int seq = SMBUtil.readInt4(mic, 12); mac.update(mic, 12, 4); // sequence byte[] dgst = mac.digest(data); // data
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
/** * @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; /** * @return whether MIC can be used */ boolean isMICAvailable ();
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/SpnegoContext.java
log.debug("Out Mech list MIC " + Hexdump.toHexString(mechanismListMIC)); } return mechanismListMIC; } private void verifyMechListMIC ( byte[] mechanismListMIC ) throws CIFSException { if ( this.disableMic ) { return; } // No MIC verification if not present and not required
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/spnego/NegTokenInit.java
@Override public String toString () { String mic = null; if ( this.getMechanismListMIC() != null ) { mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length); } return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic); } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K 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) -
src/main/java/jcifs/smb/Kerb5Context.java
throw new CIFSException("Failed to calculate MIC", e); } } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[]) */ @Override public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException { try { this.gssContext.verifyMIC(mic, 0, mic.length, 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/SmbSessionImpl.java
// a relatively large range of samba versions has a bug causing // an invalid parameter error when a SPNEGO MIC is in place and auth fails throw new SmbAuthException("Login failed", e); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0)