Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Overview

Signs the request by using specified certificate

SignatureResult $Crypto.Sign(cert: Certificate, request: SignatureRequest)

Signs the request with matching certificate filter

SignatureResult $Crypto.Sign(input: CompositeSignatureRequest)

Arguments

Certificate to use for signing
Request to sign
Request to sign

Returns

Signature result

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 }

Digest

Types of digest algorithms ( "SHA1" | "SHA256" | "SHA384" | "SHA512" )

SignatureFormat

Types of digital signature formats ( "Cades" | "Pades" | "Xades" | "SMime" )

SignatureLevel

Types of digital signature levels ( "BES" | "T" | "X" | "XX" | "A" )
  • No labels