diff options
Diffstat (limited to 'docs/x509.rst')
-rw-r--r-- | docs/x509.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index c4c441e7..f94f50eb 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -494,7 +494,7 @@ X.509 CSR (Certificate Signing Request) Builder Object ... x509.BasicConstraints(ca=False, path_length=None), critical=True, ... ) >>> request = builder.sign( - ... default_backend(), private_key, hashes.SHA256() + ... private_key, hashes.SHA256(), default_backend() ... ) >>> isinstance(request, x509.CertificateSigningRequest) True @@ -515,7 +515,7 @@ X.509 CSR (Certificate Signing Request) Builder Object :returns: A new :class:`~cryptography.x509.CertificateSigningRequestBuilder`. - .. method:: sign(backend, private_key, algorithm) + .. method:: sign(private_key, algorithm, backend) :param backend: Backend that will be used to sign the request. Must support the |