Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for init (0.15 sec)

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

            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    
            cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, dataKey);
    
            int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE;
            byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength);
    
    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

         * @param key
         * @throws GeneralSecurityException
         */
        private static void verifyAESMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
            verifyAESHMAC(usage, expect, key, Hex.decode(data));
        }
    
    
        private static void verifyArcfourHMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
    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/spnego/NegTokenInit.java

    public class NegTokenInit extends SpnegoToken {
    
        public static final int DELEGATION = 0x80;
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        public static final int REPLAY_DETECTION = 0x20;
        public static final int SEQUENCE_CHECKING = 0x10;
        public static final int ANONYMITY = 0x08;
        public static final int CONFIDENTIALITY = 0x04;
        public static final int INTEGRITY = 0x02;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/ASN1Util.java

         * @throws IOException
         */
        public static byte[] readUnparsedTagged(int expectTag, int limit, ASN1InputStream in) throws IOException {
            int ftag = in.read();
            int tag = readTagNumber(in, ftag);
            if ( tag != expectTag ) {
                throw new IOException("Unexpected tag " + tag);
            }
            int length = readLength(in, limit, false);
            byte[] content = new byte[length];
    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)
  5. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

                if ( credential instanceof KerberosKey )
                    serverKeys.add((KerberosKey) credential);
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
    
        public KerberosKey getKey ( int keyType ) {
            KerberosKey serverKey = null;
    
            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for ( Object credential : serverPrivateCredentials )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                    throw new PACDecodingException("Not a kerberos token");
    
    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                read = ( readHigh << 8 ) + readLow;
                if ( read != 0x01 )
                    throw new PACDecodingException("Malformed kerberos token");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top