Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for mechanismListMIC (0.8 sec)

  1. src/main/java/jcifs/spnego/NegTokenTarg.java

         * @param mechanismListMIC the MIC over the mechanism list
         */
        public NegTokenTarg(final int result, final ASN1ObjectIdentifier mechanism, final byte[] mechanismToken,
                final byte[] mechanismListMIC) {
            setResult(result);
            setMechanism(mechanism);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                    fields.add(new DERTaggedObject(true, 2, new DEROctetString(mechanismToken)));
                }
                final byte[] mechanismListMIC = getMechanismListMIC();
                if (mechanismListMIC != null) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
    
                final ASN1EncodableVector ev = new ASN1EncodableVector();
                ev.add(SPNEGO_OID);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("Setter and getter for mechanismListMIC work")
        void setGetMechanismListMIC() {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] mic = new byte[] { 7, 8, 9, 10 };
            t.setMechanismListMIC(mic);
            assertArrayEquals(mic, t.getMechanismListMIC(), "mechanismListMIC should round-trip");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/SpnegoToken.java

         */
        public byte[] getMechanismListMIC() {
            return this.mechanismListMIC;
        }
    
        /**
         * Sets the mechanism list MIC (Message Integrity Code) for integrity protection
         * @param mechanismListMIC the mechanism list MIC bytes
         */
        public void setMechanismListMIC(final byte[] mechanismListMIC) {
            this.mechanismListMIC = mechanismListMIC;
        }
    
        /**
         * Encodes this SPNEGO token to a byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            final byte[] mechanismListMIC = this.mechContext.calculateMIC(ml);
            if (log.isDebugEnabled()) {
                log.debug("Out Mech list " + Arrays.toString(lm));
                log.debug("Out Mech list encoded " + Hexdump.toHexString(ml));
                log.debug("Out Mech list MIC " + Hexdump.toHexString(mechanismListMIC));
            }
            return mechanismListMIC;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         *
         * @return whether to disable sending/verifying SPNEGO mechanismListMIC
         */
        boolean isDisableSpnegoIntegrity();
    
        /**
         *
         * Property {@code jcifs.smb.client.enforceSpnegoIntegrity} (boolean, false)
         *
         * @return whether to enforce verifying SPNEGO mechanismListMIC
         */
        boolean isEnforceSpnegoIntegrity();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top