Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getSigningKey (0.15 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

        public String getNetbiosName() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSigningKey()
         */
        @Override
        public byte[] getSigningKey() throws CIFSException {
            return this.mechContext.getSigningKey();
        }
    
        /**
         * Initialize the GSSContext to provide SPNEGO feature.
         *
         * @param inputBuf
         * @param offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/AuthenticationProvider.java

         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
         */
        byte[] getSigningKey();
    
        /**
         * Validates authentication credentials
         *
         * @return true if credentials are valid
         */
        boolean validateCredentials();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public String getNetbiosName() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSigningKey()
         */
        @Override
        public byte[] getSigningKey() throws SmbException {
            /*
             * The kerberos session key is not accessible via the JGSS API. IBM and
             * Oracle both implement a similar API to make an ExtendedGSSContext
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Gets the signing key for the session.
         * @return the signing key for the session
         * @throws CIFSException if an error occurs retrieving the signing key
         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
         * Checks whether the security context is established.
         * @return whether the context is established
         */
        boolean isEstablished();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                            .treeConnect(null, null);
                                } else {
                                    final byte[] signingKey = auth.getSigningKey(transport.server.encryptionKey);
                                    request.digest = new SigningDigest(signingKey, false);
                                }
                            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            return serverChallenge;
        }
    
        /**
         * Gets the signing key for message authentication.
         * @return the signing key bytes
         */
        public byte[] getSigningKey() {
            return signingKey;
        }
    
        /**
         * Gets the NetBIOS name of the remote server.
         * @return the NetBIOS name
         */
        public String getNetbiosName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                        this.sessionKey = ctx.getSigningKey();
                        if (request != null && request.getDigest() != null) {
                            /* success - install the signing digest */
                            setDigest(request.getDigest());
                        } else if (!anonymous && isSignatureSetupRequired()) {
                            byte[] signingKey = ctx.getSigningKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

         * @return the server's challenge
         */
        public byte[] getServerChallenge() {
            return this.serverChallenge;
        }
    
        @Override
        public byte[] getSigningKey() {
            return this.masterKey;
        }
    
        @Override
        public String getNetbiosName() {
            return this.netbiosName;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
            case 2:
                final byte[] signingKey = new byte[40];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @param chlng the server challenge
         * @return the signing key
         * @throws SmbException if an SMB error occurs
         * @throws GeneralSecurityException if a security error occurs
         */
        public byte[] getSigningKey(CIFSContext tc, byte[] chlng) throws SmbException, GeneralSecurityException {
            switch (tc.getConfig().getLanManCompatibility()) {
            case 0:
            case 1:
            case 2:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top