- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 97 for unwrapped (0.04 sec)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
void testUnwrapToDfsReferralData() { DfsReferralData unwrapped = referralData.unwrap(DfsReferralData.class); assertSame(referralData, unwrapped); } @Test @DisplayName("Should unwrap to DfsReferralDataInternal interface") void testUnwrapToDfsReferralDataInternal() { DfsReferralDataInternal unwrapped = referralData.unwrap(DfsReferralDataInternal.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
} // Test case for the unwrap method @Test void testUnwrap() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl unwrapped = tree.unwrap(SmbTreeImpl.class); assertEquals(tree, unwrapped); // Test unwrapping to a non-assignable type should fail assertThrows(ClassCastException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
public void testUnwrap() { when(smbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal); SmbPipeHandleInternal unwrapped = smbPipeHandle.unwrap(SmbPipeHandleInternal.class); assertSame(mockSmbPipeHandleInternal, unwrapped, "Unwrap should return the underlying handle implementation."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/Credentials.java
* * @param <T> the credential type to unwrap to * @param type the class of the credential type to unwrap to * @return instance for type, null if the type cannot be unwrapped */ <T extends Credentials> T unwrap(Class<T> type); /** * Get the domain of the user account. * @return the domain the user account is in */ String getUserDomain();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
*/ @Test void testUnwrap() throws SmbException { SID sid = new SID(adminSidString); SID unwrapped = sid.unwrap(SID.class); assertNotNull(unwrapped); assertEquals(sid, unwrapped); assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } /** * Test the resolve method. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@DisplayName("unwrap returns self for assignable type; throws for incompatible and null") void testUnwrap() { // Happy path: unwrap to concrete type SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class); assertSame(target, unwrapped); // Incompatible type: expect ClassCastException class OtherPipeHandle implements SmbPipeHandle { @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ boolean isStale(); /** * Unwraps this handle to the specified type. * * @param <T> the type to unwrap to * @param type the class of the type to unwrap to * @return unwrapped instance */ <T extends SmbPipeHandle> T unwrap(Class<T> type);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); NbtAddress unwrapped = nbtAddress.unwrap(NbtAddress.class); assertNotNull(unwrapped); assertSame(nbtAddress, unwrapped); // Test unwrap for incompatible type - NbtAddress implements NetbiosAddress so it should return itself
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0)