Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

     */
    public class PacDataInputStream {
    
        private final DataInputStream dis;
        private final int size;
    
        /**
         * Constructs a PAC data input stream from the given input stream.
         * @param in the underlying input stream
         * @throws IOException if an I/O error occurs
         */
        public PacDataInputStream(final InputStream in) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacSignature.java

         * @throws PACDecodingException if the data is malformed or cannot be parsed
         */
        public PacSignature(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch (this.type) {
                case KERB_CHECKSUM_HMAC_MD5:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
                this.logonTime = pacStream.readFiletime();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top