Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getSignature (0.35 sec)

  1. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Given
            byte[] signature = new byte[16];
            new SecureRandom().nextBytes(signature);
    
            // When
            transformHeader.setSignature(signature);
    
            // Then
            assertArrayEquals(signature, transformHeader.getSignature());
        }
    
        @Test
        @DisplayName("Should set and get nonce")
        void testNonce() {
            // When
            transformHeader.setNonce(testNonce);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @param argTypes
         *            The argument types
         * @return The string representation of the method signature
         */
        public static String getSignature(final String methodName, final Class<?>... argTypes) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final byte[] associatedData = transformHeader.getAssociatedData();
                byte[] nonce = transformHeader.getNonce();
                final byte[] authTag = transformHeader.getSignature();
    
                // Extract ciphertext
                final int ciphertextLength = encryptedMessage.length - Smb2TransformHeader.TRANSFORM_HEADER_SIZE;
                final byte[] ciphertext = new byte[ciphertextLength];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	return x.Flags&xlFlagInlineData != 0
    }
    
    // signatureErr is a signature returned when an error occurs.
    var signatureErr = [4]byte{'e', 'r', 'r', 0}
    
    // getSignature will return a signature that is expected to be the same across all disks.
    func (j xlMetaV2Version) getSignature() [4]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.Signature()
    	case DeleteType:
    		return j.DeleteMarker.Signature()
    	case LegacyType:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  9. cmd/post-policy_test.go

    	// Get signining key.
    	signingkey := getSigningKey(secretAccessKey, t, location, "s3")
    	// Calculate signature.
    	signature := getSignature(signingkey, policyBase64)
    	return signature
    }
    
    func newPostRequestV2(endPoint, bucketName, objectName string, secretKey string, formInputData map[string]string) (*http.Request, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    		for _, ver := range v2 {
    			b, _ := json.Marshal(ver.header)
    			t.Log(string(b))
    			var x xlMetaV2Version
    			_, _ = x.unmarshalV(0, ver.meta)
    			b, _ = json.Marshal(x)
    			t.Log(string(b), x.getSignature())
    		}
    	}
    
    	for i := range vers {
    		t.Run(fmt.Sprintf("non-strict-q%d", i), func(t *testing.T) {
    			merged := mergeXLV2Versions(i, false, 0, vers...)
    			if len(merged) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top