Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getApOptions (0.55 sec)

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

                }
            }
        }
    
        /**
         * Get the AP options flags.
         *
         * @return the AP options byte
         */
        public byte getApOptions() {
            return this.apOptions;
        }
    
        /**
         * Get the Kerberos ticket from this AP request.
         *
         * @return the Kerberos ticket
         */
        public KerberosTicket getTicket() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            byte ap = (byte) 0x7A;
            ASN1Sequence seq = buildMinimalApReqSeq(ap);
    
            // Act
            KerberosApRequest req = new KerberosApRequest(seq, null);
    
            // Assert
            assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte");
            assertNull(req.getTicket(), "ticket should be null when tag 3 is absent");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top