- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for EncryptionKey (0.1 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.encryptionKey = new byte[this.server.encryptionKeyLength]; System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength); if ( log.isDebugEnabled() ) { log.debug( String.format("Have initial token %s", Hexdump.toHexString(this.server.encryptionKey, 0, this.server.encryptionKeyLength)));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0); break; default: macSigningKey = new byte[40]; auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0); System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey), 0, macSigningKey, 16, 24); break;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
} else if (session.transport.server.encryptedPasswords) { lmHash = auth.getAnsiHash( session.transport.server.encryptionKey ); ntHash = auth.getUnicodeHash( session.transport.server.encryptionKey ); // prohibit HTTP auth attempts for the null session if (lmHash.length == 0 && ntHash.length == 0) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
return } } func parseJSONBody(ctx context.Context, body io.Reader, v interface{}, encryptionKey string) error { data, err := io.ReadAll(body) if err != nil { return SRError{ Cause: err, Code: ErrSiteReplicationInvalidRequest, } } if encryptionKey != "" { data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data)) if err != nil { return SRError{ Cause: err,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
int start = bufferIndex; if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) { server.encryptionKey = new byte[server.encryptionKeyLength]; System.arraycopy( buffer, bufferIndex, server.encryptionKey, 0, server.encryptionKeyLength ); bufferIndex += server.encryptionKeyLength; if( byteCount > server.encryptionKeyLength ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
SmbSession ssn = trans.getSmbSession( NtlmPasswordAuthentication.DEFAULT ); ssn.getSmbTree( LOGON_SHARE, null ).treeConnect( null, null ); } return new NtlmChallenge( trans.server.encryptionKey, dc ); } public static NtlmChallenge getChallengeForDomain() throws SmbException, UnknownHostException { if( DOMAIN == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
if ( server.encryptedPasswords ) { this.lmHash = a.getAnsiHash(tc, server.encryptionKey); this.ntHash = a.getUnicodeHash(tc, server.encryptionKey); // prohibit HTTP auth attempts for the null session if ( this.lmHash.length == 0 && this.ntHash.length == 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 17 10:20:23 UTC 2019 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
import jcifs.smb.SmbUnsupportedOperationException; import sun.security.jgss.krb5.Krb5Util; import sun.security.krb5.Asn1Exception; import sun.security.krb5.Credentials; import sun.security.krb5.EncryptionKey; import sun.security.krb5.KrbAsReqBuilder; import sun.security.krb5.KrbException; import sun.security.krb5.PrincipalName; import sun.security.krb5.RealmException; import sun.security.krb5.internal.KerberosTime;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} else if ( this.server.encryptedPasswords ) { // encrypted try { this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey); } catch ( GeneralSecurityException e ) { throw new RuntimeCIFSException("Failed to encrypt password", e); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.6K bytes - Viewed (0)