Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OIDs (0.01 sec)

  1. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Gets the negotiated context flags.
         * @return context flags
         */
        int getFlags();
    
        /**
         * Gets the array of supported security mechanism OIDs.
         * @return array of supported mechanism OIDs
         */
        ASN1ObjectIdentifier[] getSupportedMechs();
    
        /**
         * Checks whether this mechanism supports message integrity.
         * @return whether this mechanisms supports integrity
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/SpnegoConstants.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.spnego;
    
    /**
     * Constants for SPNEGO authentication mechanism OIDs used in GSS-API negotiations
     */
    public interface SpnegoConstants {
    
        /**
         * OID for the SPNEGO mechanism
         */
        String SPNEGO_MECHANISM = "1.3.6.1.5.5.2";
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    @DisplayName("NegTokenInit SPNEGO Token Tests")
    class NegTokenInitTest {
    
        // Common OIDs used in tests
        private static final ASN1ObjectIdentifier OID_KRB = new ASN1ObjectIdentifier(SpnegoConstants.KERBEROS_MECHANISM);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
        void constantValues() {
            assertEquals("1.3.6.1.5.5.2", SpnegoConstants.SPNEGO_MECHANISM, "SPNEGO_MECHANISM mismatch");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

        @MethodSource("supportedMechs")
        @DisplayName("isSupported returns true for supported OIDs")
        void isSupported_supportedOids(ASN1ObjectIdentifier oid) {
            assertTrue(ctx.isSupported(oid));
            assertTrue(ctx.isPreferredMech(oid));
        }
    
        @Test
        @DisplayName("isSupported returns false for null/unknown OIDs")
        void isSupported_unknownOrNull() {
            assertFalse(ctx.isSupported(null));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                krbNameOid = new Oid("1.2.840.113554.1.2.2.1");
                krbMechOid = new Oid("1.2.840.113554.1.2.2");
            } catch (Exception e) {
                log.error("Failed to initialize kerberos OIDs", e);
            }
    
            JGSS_KRB5_NAME_OID = krbNameOid;
            JGSS_KRB5_MECH_OID = krbMechOid;
        }
    
        private final GSSContext gssContext;
        private final GSSName clientName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
Back to top