- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for setSignature (1.35 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// When/Then assertThrows(IllegalArgumentException.class, () -> { transformHeader.setSignature(shortSignature); }); assertThrows(IllegalArgumentException.class, () -> { transformHeader.setSignature(longSignature); }); } @Test @DisplayName("Should handle buffer underflow during decode")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
* * @return the signature/authentication tag */ public byte[] getSignature() { return this.signature; } /** * Sets the signature or authentication tag for the encrypted message * * @param signature * the signature/authentication tag to set */ public void setSignature(final byte[] signature) { if (signature.length != 16) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
isGCMCipher() ? encryptWithGCM(message, nonce, associatedData) : encryptWithCCM(message, nonce, associatedData); // Set authentication tag in transform header transformHeader.setSignature(encResult.authTag); // Build final encrypted message final byte[] result = new byte[Smb2TransformHeader.TRANSFORM_HEADER_SIZE + encResult.ciphertext.length];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java
} public static AccessorKey ofMethodWithSameSignatureButNewName(String newName, JApiMethod jApiMethod) { String descriptor = jApiMethod.getNewMethod().get().getSignature(); String containingType = jApiMethod.getjApiClass().getFullyQualifiedName(); return new AccessorKey(containingType, newName, descriptor); }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 13 19:17:41 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
* Array of arguments */ public ConstructorNotFoundRuntimeException(final Class<?> targetClass, final Object[] methodArgs) { super("ECL0048", asArray(targetClass.getName(), getSignature(methodArgs))); this.targetClass = targetClass; this.methodArgs = methodArgs; paramTypes = null; } /** * Creates a {@link ConstructorNotFoundRuntimeException}. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.8K bytes - Viewed (0) -
cmd/signature-v4.go
regionBytes := sumHMAC(date, []byte(region)) service := sumHMAC(regionBytes, []byte(stype)) signingKey := sumHMAC(service, []byte("aws4_request")) return signingKey } // getSignature final signature in hexadecimal form. func getSignature(signingKey []byte, stringToSign string) string { return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign))) } // Check to see if Policy is signed correctly.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java
*/ public NoSuchConstructorRuntimeException(final Class<?> targetClass, final Class<?>[] argTypes, final Throwable cause) { super("ECL0064", asArray(targetClass.getName(), MethodUtil.getSignature(targetClass.getSimpleName(), argTypes)), cause); this.targetClass = targetClass; this.argTypes = argTypes; } /** * Returns the target class. * * @return Target classRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java
*/ public NoSuchMethodRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] argTypes, final Throwable cause) { super("ECL0057", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, argTypes)), cause); this.targetClass = targetClass; this.methodName = methodName; this.argTypes = argTypes; } /** * Returns the target class. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
*/ public MethodNotFoundRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] methodArgClasses) { super("ECL0049", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, methodArgClasses))); this.targetClass = targetClass; this.methodName = methodName; this.methodArgClasses = methodArgClasses; } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} @Override MethodVisitor visitMethod(int access, String name, String methodDescriptor, String signature, String[] exceptions) { if (behaviorName == name && methodDescriptor == behavior.getSignature()) { return new MethodVisitor(AsmConstants.ASM_LEVEL) { @Override AnnotationVisitor visitAnnotation(String descriptor, boolean visible) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 15.4K bytes - Viewed (0)