Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for Pac (0.01 sec)

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

     */
    package jcifs.pac.kerberos;
    
    import java.io.IOException;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1InputStream;
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.bouncycastle.asn1.ASN1Sequence;
    import org.bouncycastle.asn1.ASN1TaggedObject;
    import org.bouncycastle.asn1.BERTags;
    
    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacSidAttributes.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    import jcifs.smb.SID;
    
    /**
     * Represents a Security Identifier (SID) with associated attributes within a PAC structure.
     * This class encapsulates a SID and its attribute flags as used in Kerberos PAC data.
     */
    public class PacSidAttributes {
    
        private final SID id;
        private final int attributes;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacGroupTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
            assertEquals(mockSid, pacGroup.getId(), "getId() should return the correct SID.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

        private SID[] resourceGroupSids;
        private SID[] extraSids;
        private int userAccountControl;
        private int userFlags;
    
        /**
         * Constructs a PAC logon information object from raw PAC data.
         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a valid byte array.
         *
         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacConstants.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    /**
     * Constants for PAC (Privilege Attribute Certificate) data structures.
     * Defines buffer types and other constants used in PAC parsing and validation.
     */
    public interface PacConstants {
    
        /**
         * PAC structure version number.
         */
        int PAC_VERSION = 0;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacMacTest.java

    package jcifs.pac;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.security.GeneralSecurityException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacDataInputStream.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    import java.io.DataInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.math.BigInteger;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    /**
     * Input stream for reading PAC data structures with proper alignment and byte ordering.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacSignatureTest.java

    package jcifs.pac;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacSignature class.
     */
    class PacSignatureTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacSignature.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    import java.io.ByteArrayInputStream;
    import java.io.DataInputStream;
    import java.io.IOException;
    
    /**
     * Represents a PAC signature structure containing checksum type and data.
     * This class parses and holds signature information from Kerberos PAC data,
     * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top