Sign 2
Signature creation using one private key and one X.509 public key certificate
When creating a digital signature using one private key and one X.509 certificate, the specified X.509 certificate will be included in the digital signature (PKCS#7 SignedData).
Includes signature targets.
Includes an X.509 certificate that contains the public key of the private key pair used for signing.
The X.509 certificate to be specified must be "an X.509 public key certificate that contains the public key pair with private key used to sign."
If not, it will not be accepted.
This is simply an X.509 certificate that contains the public key pair with your private key.
Use the segmented control to select whether to store the signature target in the digital signature (PKCS#7 SignedData).
If you want to include the signature target in the digital signature, select "include" in the segmented control.
Set P8 & X509 (one private key and one X.509 certificate) as the type of private key used for signing.
When P8 & X509 is used as the type of private key to be used for signing, the X.509 certificate File Name field is enabled.
Specifies the password used to decrypt the private key
Enter the X.509 key certificate that contains the public key pair with the private keyused to sign.
Specify the output destination file of the created digital signature.
In this state, press the "Do Sign" button to create a digital signature.
Messages are not displayed during or after execution.
Let's use "Duplicating File" command to see the created digital signature.
A form like this has been created.
The following is included in this digital signature:
Target of signature
X.509 certificate containing the public key used for verification
Digital signature value
When verifying this digital signature, it is not necessary to specify 
the signature target and
the X.509 public key certificate that contains the public key used for verification.
Ｉｎthis case, what is contained in the digital signature (PKCS#7 SignedData)is used when verifying the digital signature.