- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ASN1ObjectIdentifier (0.7 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
class NegTokenInitTest { // Common OIDs used in tests private static final ASN1ObjectIdentifier OID_KRB = new ASN1ObjectIdentifier(SpnegoConstants.KERBEROS_MECHANISM); private static final ASN1ObjectIdentifier OID_KRB_LEGACY = new ASN1ObjectIdentifier(SpnegoConstants.LEGACY_KERBEROS_MECHANISM); private static final ASN1ObjectIdentifier OID_NTLM = new ASN1ObjectIdentifier(SpnegoConstants.NTLMSSP_MECHANISM);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private boolean firstResponse = true; private boolean completed; private ASN1ObjectIdentifier[] mechs; private ASN1ObjectIdentifier selectedMech; private ASN1ObjectIdentifier[] remoteMechs; private final boolean disableMic; private boolean requireMic; /** * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext}
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Arrange ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5 ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO DummySSPContext ctx = new DummySSPContext(new byte[] { 1, 2, 3 }, true, "NBHOST", new ASN1ObjectIdentifier[] { mech1, mech2 }, 0xA5, true); // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
private static final ASN1ObjectIdentifier KRB5_MECH_OID; private static final ASN1ObjectIdentifier KRB5_MS_MECH_OID; static final ASN1ObjectIdentifier[] SUPPORTED_MECHS; private static final Oid JGSS_KRB5_NAME_OID; private static final Oid JGSS_KRB5_MECH_OID; static { KRB5_MECH_OID = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/spnego/NegTokenInit.java
/** * Context flag for integrity (signing) capability */ public static final int INTEGRITY = 0x02; private static final ASN1ObjectIdentifier SPNEGO_OID = new ASN1ObjectIdentifier(SpnegoConstants.SPNEGO_MECHANISM); private ASN1ObjectIdentifier[] mechanisms; private int contextFlags; /** * Default constructor for NegTokenInit */ public NegTokenInit() { }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Build a token with an arbitrary non-kerberos mechanism OID ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5"); byte[] init = spnegoInitWithMechs(unsupported); // Host is a FQDN to pass the short-name check SmbUnsupportedOperationException ex =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
private boolean canFallback = false; /** Flag to force fallback authentication */ private boolean forceFallback; static { PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.113554.1.2.2")); PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.48018.1.2.2")); } /** * Construct a <code>Kerb5Authenticator</code> object with <code>Subject</code>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override public boolean isSupported(final ASN1ObjectIdentifier mechanism) { return NTLMSSP_OID.equals(mechanism); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
f.setAccessible(true); f.set(target, value); } static ASN1ObjectIdentifier[] supportedMechs() { return Kerb5Context.SUPPORTED_MECHS; } @ParameterizedTest @MethodSource("supportedMechs") @DisplayName("isSupported returns true for supported OIDs") void isSupported_supportedOids(ASN1ObjectIdentifier oid) { assertTrue(ctx.isSupported(oid));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.Objects; import java.util.Set; import javax.security.auth.Subject; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; import jcifs.RuntimeCIFSException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0)