- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for Checksum (0.04 sec)
-
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); byte[] checksum = new byte[16]; for (int i = 0; i < checksum.length; i++) { checksum[i] = (byte) i; } baos.write(checksum); byte[] data = baos.toByteArray(); // Create PacSignature PacSignature pacSignature = new PacSignature(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
} catch (final IOException e) { throw new PACDecodingException("Malformed PAC signature", e); } } /** * Gets the checksum type of this signature. * * @return the checksum type constant */ public int getType() { return this.type; } /** * Gets the checksum data. * * @return the checksum bytes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} if unMarshalXLMeta.Erasure.Checksums[i].Algorithm != jsoniterXLMeta.Erasure.Checksums[i].Algorithm { t.Errorf("Expected the Erasure Checksum Algorithm to be \"%s\", got \"%s\".", unMarshalXLMeta.Erasure.Checksums[i].Algorithm, jsoniterXLMeta.Erasure.Checksums[i].Algorithm) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
/** * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits). * * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code * HashCode} produced by this function, use {@link HashCode#padToLong()}. * * <p>This function is best understood as a <a * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0) -
cmd/object-api-datatypes.go
VersionPurgeStatus: ri.VersionPurgeStatus, VersionPurgeStatusInternal: ri.VersionPurgeStatusInternal, DeleteMarker: true, UserDefined: map[string]string{}, Checksum: ri.Checksum, } } // ReplicateObjectInfo represents object info to be replicated type ReplicateObjectInfo struct { Name string Bucket string
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
cmd/postpolicyform_test.go
}, { name: "unknown key XAmzChecksumCRC32 is error as it does not appear in policy", fv: defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32), "crc32-val"), wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Crc32" not specified in the policy.`, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
cmd/erasure-multipart.go
checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart checksum.Type = checksumType if !checksumType.FullObjectRequested() { checksum = *hash.NewChecksumFromData(checksumType, checksumCombined) } fi.Checksum = checksum.AppendTo(nil, checksumCombined) if opts.EncryptFn != nil { fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum) } } // Remove superfluous internal headers.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 47.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
log.trace(String.format("Checksum data %s type %d signature %s", Hexdump.toHexString(checksumData), this.serverSignature.getType(), Hexdump.toHexString(this.serverSignature.getChecksum()))); } byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData); if (!MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum)) { if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/bucket-handlers.go
return } checksum, err := hash.GetContentChecksum(formValues) if err != nil { apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest) apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err)) writeErrorResponse(ctx, w, apiErr, r.URL) return } if checksum != nil && checksum.Type.Trailing() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
int LOGON_INFO = 1; /** * Buffer type for credential information. */ int CREDENTIAL_TYPE = 2; /** * Buffer type for server checksum signature. */ int SERVER_CHECKSUM = 6; /** * Buffer type for privilege server (KDC) checksum signature. */ int PRIVSVR_CHECKSUM = 7; /** * Buffer type for client name information. */ int CLIENT_NAME_TYPE = 0xA;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)