Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for padding (0.15 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            /*
            negTokenInit
        mechTypes: 2 items
            MechType: 1.2.840.113554.1.2.2 (KRB5 - Kerberos 5)
            MechType: 1.2.840.48018.1.2.2 (MS KRB5 - Microsoft Kerberos 5)
        Padding: 6
        reqFlags: c0
        mechToken: 60820b2906092a864886f71201020201006e820b1830820b14a003020105a10302010ea2…
        krb5_blob: 60820b2906092a864886f71201020201006e820b1830820b14a003020105a10302010ea2…
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Crypto.java

         */
        public static Cipher getDES ( byte[] key ) {
            if ( key.length == 7 ) {
                return getDES(des7to8(key));
            }
    
            try {
                Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
                return c;
            }
            catch (
                NoSuchAlgorithmException |
                NoSuchPaddingException |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] decrypt;
            try {
                cipher = Cipher.getInstance("DES/CBC/NoPadding");
            }
            catch ( GeneralSecurityException e ) {
                throw new GeneralSecurityException("Checksum failed while decrypting.");
            }
            byte[] ivec = new byte[8];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

            if ( tc.getConfig().isDfsConvertToFQDN() ) {
                dri.fixupHost(server);
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug("Adding key " + key + " to " + dr);
            }
    
            /*
             * Subtract the server and share from the pathConsumed so that
             * it reflects the part of the relative path consumed and not
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                        }
                    }
                    else if ( !curReq.isResponseAsync() ) {
                        if ( log.isTraceEnabled() ) {
                            log.trace("Adding credits " + grantedCredits);
                        }
                        this.credits.release(grantedCredits);
                    }
                }
            }
    
            if ( !response.isReceived() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/ASN1Util.java

            return as(type, sequence.getObjectAt(index));
        }
    
    
        /**
         * Read a  tagged object without parsing it's contents
         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag
         * @param in
         * @return coded bytes of the tagged object
         * @throws IOException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top