- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getSupportedMechs (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SSPContext.java
*/ 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 */ boolean supportsIntegrity(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Context.java
return isSupported(mechanism); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSupportedMechs() */ @Override public ASN1ObjectIdentifier[] getSupportedMechs() { return SUPPORTED_MECHS; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getFlags() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
src/main/java/jcifs/smb/SpnegoContext.java
this.requireMic = config.isEnforceSpnegoIntegrity(); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSupportedMechs() */ @Override public ASN1ObjectIdentifier[] getSupportedMechs() { return new ASN1ObjectIdentifier[] { SPNEGO_MECH_OID }; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getFlags()
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
return new SpnegoContext(this.config, this.mechContext, this.mechs); } @Test @DisplayName("getSupportedMechs returns SPNEGO OID") void testGetSupportedMechs() { SpnegoContext ctx = newContext(); ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs(); assertNotNull(supported); assertEquals(1, supported.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
assertFalse(ctx.isSupported(new ASN1ObjectIdentifier("1.3.6.1.4.1.99999"))); } @Test @DisplayName("getSupportedMechs returns expected array") void getSupportedMechs_happyPath() { ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs(); assertNotNull(mechs); assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0)