Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMicTag3NonOctetIgnored (0.25 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertArrayEquals(mic, p3.getMechanismListMIC(), "MIC should be parsed from tag [3]");
        }
    
        @Test
        @DisplayName("Tag [3] MIC with non-OctetString is ignored (no crash)")
        void testMicTag3NonOctetIgnored() throws Exception {
            // Manually craft a token where field [3] is not an OctetString (e.g., BitString)
            ASN1EncodableVector fields = new ASN1EncodableVector();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top