[This feature is a licensed version feature] Those who require a license can obtain a 30-day license from the [Program Key Issuance] page.

Let’s try digital signing and verification using the BerEditor tool. To digitally sign with BerEditor, you first need the corresponding certificate and private key.

There are two things to consider when signing with RSA.

First, the hash algorithm for the original text to be used for the digital signature.

Secondly, there are two padding methods for digital signatures: the existing V15 method and the V21 method, also known as PSS (OAEP).

V15 is generally used for certificates, and recently, the more secure V21 method is recommended.

For ECDSA, simply select the hash algorithm for digital signatures.

Now, let’s try creating an RSA digital signature using BerEditor.

Creating an RSA Digital Signature

Select BerEditor->Crypto->Sign/Verify.

The default selection is “Sign.”

  1. Input Data (Hex): “1122334455667788”
  2. Select the RSA private key file
  3. Hash and Method: Select SHA256 and V15
  4. Sign: Create a digital signature
  5. Signature value

For RSA, you can select V15 and PSS for the Hash and Signature methods.

RSA Digital Signature Verification

  1. Click the Verify radio button.
  2. Enter the original text.
  3. Select the signature verification certificate.
  4. Select the signature hash and method.
  5. Enter the signature value.
  6. Run the signature verification.

Following the above steps, the signature value will appear on the screen.

ECDSA Digital Signature

ECDSA uses the same method as RSA, but with an ECDSA private key.

  1. Select Sign
  2. Enter original text
  3. Select electronic signature private key file
  4. Electronic Select a Signature Hash
  5. Execute the Signature
  6. Display the Signature Value

For ECDSA, only specify the Hash Algorithm.

ECDSA Digital Signature Verification

Using a public key or certificate for ECDSA uses the same method as RSA.

  1. Select Verify
  2. Enter the original text
  3. Select the digital signature verification certificate file
  4. Select the digital signature hash
  5. Enter the digital signature value
  6. Run verification

Additional feature description

  • Key pair check: Checks whether the private and public keys are paired correctly.
  • Init, Update, Final: Use these buttons to enter the original text multiple times during signing and verification.

(Note: Init and Final are performed only once, while Update is used to continuously input the original text.)

  • V button: View certificate
  • D button: View BER decoding for the certificate or private key
  • T button: Verify the certificate or private key algorithm (Supported in Version 1.2.3 or later)