Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ApReq (0.22 sec)

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

        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ApReq");
            }
    
            ASN1Sequence sequence;
            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
    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

            // Act + Assert
            PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(empty, new KerberosKey[0]));
            assertTrue(ex.getMessage().contains("Empty kerberos ApReq"));
        }
    
        @Test
        @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)")
        void byteArrayConstructor_malformedDER_throwsWrapped() {
    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