Method Standards.PKCS.CSR.build_csr()
- Method
build_csr
Sequencebuild_csr(Crypto.Signsign,Sequencename,mapping(string:array(Object))attributes,Crypto.Hash|voidhash)- Description
Build a Certificate Signing Request.
- Parameter
sign Signature algorithm for the certificate. Both private and public keys must be set.
- Parameter
name The distinguished name for the certificate.
- Parameter
attributes Attributes from PKCS #9 to add to the certificate.
- Parameter
hash Hash algoritm to use for the CSR signature. Defaults to Crypto.SHA256.
- Note
Prior to Pike 8.0 this function only supported signing with Crypto.RSA and the default (and only) hash was Crypto.MD5.