Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for type (0.16 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

        }
    
    
        public static byte[] decrypt ( byte[] data, Key key, int type ) throws GeneralSecurityException {
            Cipher cipher = null;
            byte[] decrypt = null;
    
            switch ( type ) {
            case KerberosConstants.DES_ENC_TYPE:
                decrypt = decryptDES(data, key, cipher);
                break;
            case KerberosConstants.RC4_ENC_TYPE:
                decrypt = decryptRC4(data, key);
                break;
    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)
  2. src/test/java/jcifs/tests/PACTest.java

                        enc-part
                            etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                            kvno: 5
                            cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd…
                    authenticator
                        etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
    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)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            case Smb2Constants.SMB2_0_INFO_SECURITY:
                return createSecurityInformation(infoClass);
            default:
                throw new SMBProtocolDecodingException("Unknwon information type " + infoType);
            }
        }
    
    
        /**
         * @param infoClass
         * @return
         * @throws SMBProtocolDecodingException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * 
         */
        public static final byte SMB2_SHARE_TYPE_DISK = 0x1;
        /**
         * 
         */
        public static final byte SMB2_SHARE_TYPE_PIPE = 0x2;
        /**
         * 
         */
        public static final byte SMB2_SHARE_TYPE_PRINT = 0x3;
    
        /**
         * 
         */
        public static final int SMB2_SHAREFLAG_MANUAL_CACHING = 0x0;
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType());
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) {
                    assertEquals(SmbConstants.TYPE_SHARE, f.getType());
                }
            }
        }
    
    
        @Test
        public void testGetFreeSpace () throws CIFSException, MalformedURLException {
    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)
  8. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if ( keysByAlgo.isEmpty() || serverKey == null ) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
                    try {
                        byte[] decrypted = KerberosEncData.decrypt(crypt, serverKey, serverKey.getKeyType());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * {@inheritDoc}
         *
         * @see jcifs.DfsReferralData#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends DfsReferralData> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        @Override
        public long getExpiration () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        /**
         * @return the type of this tree
         */
        public int getTreeType () {
            String connectedService = getService();
            if ( "LPT1:".equals(connectedService) ) {
                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
                return SmbConstants.TYPE_COMM;
            }
            return SmbConstants.TYPE_SHARE;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top