diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 13:55:41 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 13:55:41 -0400 |
commit | b45c79b69d75c0e1dc69e941f67c3eaa4326a443 (patch) | |
tree | 8240d0cd72de8f74c8c0b41b5b2b607d6fe69b24 /docs/x509 | |
parent | 05db69f2a4c86b1e43a7af70a95e1a223982f658 (diff) | |
parent | b8f11bca26c1819ccdfb2a36e18375b19a91e5da (diff) | |
download | cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.tar.gz cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.tar.bz2 cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.zip |
Merge pull request #2196 from reaperhulk/reorder-certbuilder-args
reorder CertificateBuilder sign arguments
Diffstat (limited to 'docs/x509')
-rw-r--r-- | docs/x509/reference.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 799126b9..61971fed 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -502,15 +502,10 @@ X.509 Certificate Builder :param critical: Set to ``True`` if the extension must be understood and handled by whoever reads the certificate. - .. method:: sign(backend, private_key, algorithm) + .. method:: sign(private_key, algorithm, backend) Sign the certificate using the CA's private key. - :param backend: Backend that will be used to build the certificate. - Must support the - :class:`~cryptography.hazmat.backends.interfaces.X509Backend` - interface. - :param private_key: The :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` or @@ -521,6 +516,11 @@ X.509 Certificate Builder :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` that will be used to generate the signature. + :param backend: Backend that will be used to build the certificate. + Must support the + :class:`~cryptography.hazmat.backends.interfaces.X509Backend` + interface. + X.509 CSR (Certificate Signing Request) Object ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |