- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 427 for decodeId (1.17 sec)
-
docs/debugging/inspect/utils.go
"log" ) func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) { // Try PEM if block, _ := pem.Decode(priv); block != nil { return x509.ParsePKCS1PrivateKey(block.Bytes) } // Try base 64 dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv))) if n, err := base64.StdEncoding.Decode(dst, priv); err == nil { return x509.ParsePKCS1PrivateKey(dst[:n]) } // Try Raw, return error
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 02 20:36:38 UTC 2022 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
dstIndex += this.salt.length; } return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; final int nalgos = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
*/ public long getLengthInBytes() { return this.lengthInBytes; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (this.largeFile) { this.pid = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
int encodedSize = context.encode(buffer, 0); // Create new context for decoding CompressionNegotiateContext decodedContext = new CompressionNegotiateContext(); int decodedSize = decodedContext.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize); assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp-tls/api/okhttp-tls.api
public fun <init> (Ljava/security/KeyPair;Ljava/security/cert/X509Certificate;)V public final fun certificate ()Ljava/security/cert/X509Certificate; public final fun certificatePem ()Ljava/lang/String; public static final fun decode (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate; public final fun keyPair ()Ljava/security/KeyPair; public final fun privateKeyPkcs1Pem ()Ljava/lang/String; public final fun privateKeyPkcs8Pem ()Ljava/lang/String; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 3.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import okio.Buffer import okio.ByteString /** * Encode and decode a model object like a [Long] or [Certificate] as DER bytes. */ internal interface DerAdapter<T> { /** Returns true if this adapter can read [header] in a choice. */ fun matches(header: DerHeader): Boolean /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
return dstIndex - start; } /** * Decode a transform header from byte array * * @param buffer * buffer to decode from * @param bufferIndex * offset in buffer * @return new transform header instance */ public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
} @Override public long getSize() { return 0L; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.createTime = SMBUtil.readTime(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Body starts at bufferIndex + 64 // Structure size = 2 SMBUtil.writeInt2(2, buffer, bufferIndex + 64); // Decode the response int result = response.decode(buffer, bufferIndex); assertEquals(66, result); assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { // Reconnect response has no data - length should be 0 if (len != 0) { throw new SMBProtocolDecodingException("Invalid durable handle reconnect response length: " + len); } // No data to decode return 0; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0)