- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for OID (0.08 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
ASN1ObjectIdentifier oid = testOid(); MIEName a = new MIEName(oid, "Alice"); MIEName b = new MIEName(oid, "alice"); assertEquals(a, b); assertEquals(a.hashCode(), b.hashCode()); } @Test void equalsHandlesNullNames() { ASN1ObjectIdentifier oid = testOid(); MIEName a = new MIEName(oid, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
MIEName(final ASN1ObjectIdentifier oid, final String name) { this.oid = oid; this.name = name; } /* * (non-Javadoc) * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(final Object other) { if (other instanceof final MIEName terg) { if (Objects.equals(this.oid, terg.oid)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
// Helper methods to create test tokens private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); // Build the inner content ByteArrayOutputStream innerContent = new ByteArrayOutputStream(); innerContent.write(oid.getEncoded()); innerContent.write(data);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoConstants.java
*/ public interface SpnegoConstants { /** * OID for the SPNEGO mechanism */ String SPNEGO_MECHANISM = "1.3.6.1.5.5.2"; /** * OID for the Kerberos v5 mechanism */ String KERBEROS_MECHANISM = "1.2.840.113554.1.2.2"; /** * OID for the legacy Kerberos v5 mechanism */ String LEGACY_KERBEROS_MECHANISM = "1.2.840.48018.1.2.2";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} /** * Gets the selected authentication mechanism OID * @return the mechanism OID */ public ASN1ObjectIdentifier getMechanism() { return this.mechanism; } /** * Sets the selected authentication mechanism OID * @param mechanism the mechanism OID to set */ public void setMechanism(final ASN1ObjectIdentifier mechanism) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
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"); KRB5_MS_MECH_OID = new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"); SUPPORTED_MECHS = new ASN1ObjectIdentifier[] { KRB5_MECH_OID, KRB5_MS_MECH_OID }; Oid krbNameOid = null; Oid krbMechOid = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
@ParameterizedTest @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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosConstants.java
*/ package jcifs.pac.kerberos; /** * Constants used in Kerberos protocol implementation. */ public interface KerberosConstants { /** Kerberos OID identifier */ String KERBEROS_OID = "1.2.840.113554.1.2.2"; /** Kerberos protocol version */ String KERBEROS_VERSION = "5"; /** Kerberos AP-REQ message type */ String KERBEROS_AP_REQ = "14";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
@MethodSource("preferredMechData_nonAnonymous") void isPreferredMech_nonAnonymous(ASN1ObjectIdentifier oid, boolean expected) { Kerb5Authenticator auth = new Kerb5Authenticator(new Subject()); assertEquals(expected, auth.isPreferredMech(oid)); } static Object[][] preferredMechData_anonymous() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
* @param mechanism the security mechanism OID to check * @return whether the specified mechanism is supported */ boolean isSupported(ASN1ObjectIdentifier mechanism); /** * Checks whether the specified mechanism is the preferred mechanism. * @param selectedMech the selected mechanism OID * @return whether the specified mechanism is preferred */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0)