signerInfo | Document List Information about a single signer of the signed data object. Each signerInfo requires either a certificate chain and a private key or a key alias that references them. | |
Key | Description | |
keyStoreAlias | String Name of the keystore alias. | |
keyAlias | String Alias of the private key. | |
hashAlgorithm | String The algorithm to use when computing the digest of the provided data. Specify: MD5 (the default) SHA-1 SHA-256 SHA-384 SHA-512 | |
data | byte[ ] Optional. Data in the form of a byte array to be digitally signed. Note: If both data and dataAsStream are provided, dataAsStream takes precedence. | |
dataAsStream | java.io.InputStream Optional. Data in the form of an input stream to be digitally signed. Note: If both data and dataAsStream are provided, dataAsStream takes precedence. | |
detachedSignature | String Flag specifying whether to generate a detached signature. A detached signature does not include the data that was signed. Set to: true to generate a detached signature. false to generate an implicit signature (one that includes the signed data). This is the default. |
signature | byte[ ] Conditional. Signature generated in the form of a byte array from the supplied data. This is a DER-encoded representation of the SignedData object as specified in PKCS#7. signature is returned when the input parameter data is provided. |
signatureAsStream | java.io.OutputStream Conditional. Signature generated in the form of an output stream from the supplied data. signatureAsStream is returned when the input parameter dataAsStream is provided. |