Overview
Signs the request by using specified certificateSignatureResult my$Crypto.Sign(cert: Certificate, request: SignatureRequest)
SignatureResult my$Crypto.Sign(input: CompositeSignatureRequest)
Arguments
Types
Certificate
{
// Common name of certificate issued to
CommonName : string
// Serial number of certificate issued to
SerialNumber : string
}
CompositeSignatureRequest
{
// Digest to be used. Default is SHA256
Digest : Digest
// Filter of certificate to use
Filter : CertificateFilter
// Format of signature to generate. Default is Cades
Format : SignatureFormat
// Level of signature to generate. Default is BES
Level : SignatureLevel
// PKCS11 library path
Library : string
// Pin number of certificate if stored in PKCS11 library
Pin : string
// Data to be sign
Source : string
}