- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getMechs (0.04 sec)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
} @Test @DisplayName("getMechs returns configured mechs and setMechs updates them") void testGetSetMechs() { SpnegoContext ctx = newContext(); assertArrayEquals(this.mechs, ctx.getMechs()); ASN1ObjectIdentifier[] updated = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.840.113554.1.2.2") }; ctx.setMechs(updated); assertArrayEquals(updated, ctx.getMechs());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
return false; } /** * Determines what mechanism is being used for this context. * * @return the Oid of the mechanism being used */ ASN1ObjectIdentifier[] getMechs() { return this.mechs; } /** * @return the mechanisms announced by the remote end */ ASN1ObjectIdentifier[] getRemoteMechs() { return this.remoteMechs; }
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/main/java/jcifs/smb/Kerb5Context.java
MIEName targ = new MIEName(this.gssContext.getTargName().export()); ASN1ObjectIdentifier mech = ASN1ObjectIdentifier.getInstance(this.gssContext.getMech().getDER()); for (KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class)) { MIEName client = new MIEName(mech, ticket.getClient().getName());
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/test/java/jcifs/smb/Kerb5ContextTest.java
when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service")); when(gssContext.getSrcName()).thenReturn(src); when(gssContext.getTargName()).thenReturn(targ); when(gssContext.getMech()).thenReturn(new Oid("1.2.3")); assertNull(ctx.searchSessionKey(new javax.security.auth.Subject())); } @Test @DisplayName("toString shows basic info when not established")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)