- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 121 for toByteArray (0.05 sec)
-
src/main/java/jcifs/smb/NtlmContext.java
this.ntlmsspFlags &= msg2.getFlags(); final Type3Message msg3 = createType3Message(msg2); msg3.setupMIC(this.type1Bytes, token); final byte[] out = msg3.toByteArray(); if (log.isTraceEnabled()) { log.trace(msg3.toString()); log.trace(Hexdump.toHexString(token)); } this.masterKey = msg3.getMasterKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
out.write(b); } @Override protected void update(byte[] b, int off, int len) { out.write(b, off, len); } byte[] bytes() { return out.toByteArray(); } void assertBytes(byte[] expected) { assertArrayEquals(expected, bytes()); } @Override public HashCode hash() { return HashCode.fromBytesNoCopy(bytes());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
final Object obj = binaryTransformer.getData(accessResultData); assertNotNull(obj); assertTrue(obj instanceof InputStream); assertEquals("xyz", new String(IOUtils.toByteArray((InputStream) obj))); } public void test_getData_wrongName() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
ByteArrayOutputStream bytes = new ByteArrayOutputStream(); new ObjectOutputStream(bytes).writeObject(object); return new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())).readObject(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(tc, type1, challenge, null); msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII"); resp.setHeader("WWW-Authenticate", "NTLM " + msg); } else if (src[8] == 3) { final Type3Message type3 = new Type3Message(src);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
*/ public void setSuppliedWorkstation(final String suppliedWorkstation) { this.suppliedWorkstation = suppliedWorkstation; } @Override public byte[] toByteArray() { try { int flags = getFlags(); int size = 8 * 4 + ((flags & NTLMSSP_NEGOTIATE_VERSION) != 0 ? 8 : 0); byte[] domain = {};
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
return; // no NTLM } int attempt = 0; while (attempt < MAX_REDIRECTS) { connection.setRequestProperty(authProperty, authMethod + ' ' + Base64.encode(type1.toByteArray())); connection.connect(); // send type 1 response = parseResponseCode(); if (response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH) { return;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
assertArgumentNotNull("is", is); final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE); CopyUtil.copy(is, os); return os.toByteArray(); } /** * A method that wraps exception handling for {@link InputStream#available()}. * * @param is the input stream (must not be {@literal null}) * @return the available size
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close(); } return baos.toByteArray(); } catch (final IOException ex) { throw new IORuntimeException(ex); } } /** * Converts a byte array to an object. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
this.mechanismListMIC = mechanismListMIC; } /** * Encodes this SPNEGO token to a byte array * @return the encoded token bytes */ public abstract byte[] toByteArray(); /** * Parses the provided token bytes to populate this SPNEGO token * @param token the token bytes to parse * @throws IOException if parsing fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)