# Method Standards.X509.sign_tbs()

Method sign_tbs

  ``Sequence` sign_tbs(`TBSCertificate` `tbs`, ``Crypto.Sign.State`` `sign`, `Crypto.Hash` `hash`)`

Description

  Sign the provided TBSCertificate.

Parameter `tbs`

  A TBSCertificate as returned by decode_certificate() or make_tbs().

Parameter `sign`

  RSA, DSA or ECDSA parameters for the issuer. See Crypto.RSA, Crypto.DSA and Crypto.ECC.Curve.ECDSA. Must be initialized with the private key.

Parameter `hash`

  The hash function to use for the certificate. Must be one of the standardized PKCS hashes to be used with the given Crypto.

See also

  decode_certificate(), make_tbs()