Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PacDataInputStream (0.16 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

    import java.math.BigInteger;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    
    @SuppressWarnings ( "javadoc" )
    public class PacDataInputStream {
    
        private DataInputStream dis;
        private int size;
    
    
        public PacDataInputStream ( InputStream in ) throws IOException {
            this.dis = new DataInputStream(in);
            this.size = in.available();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacSignature.java

        private int type;
        private byte[] checksum;
    
    
        public PacSignature ( byte[] data ) throws PACDecodingException {
            try {
                PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch ( this.type ) {
                case KERB_CHECKSUM_HMAC_MD5:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

    
        public Pac ( byte[] data, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
            byte[] checksumData = data.clone();
            try {
                PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                if ( data.length <= 8 )
                    throw new PACDecodingException("Empty PAC");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

        private SID[] extraSids;
        private int userAccountControl;
        private int userFlags;
    
    
        public PacLogonInfo ( byte[] data ) throws PACDecodingException {
            try {
                PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
                this.logonTime = pacStream.readFiletime();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
Back to top