diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-08 15:20:52 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-08 15:20:52 -0500 |
commit | 26ac47f1326fb4b8909d40ea0683eafcb9bd858e (patch) | |
tree | f52da1cae883c1a4fa82e8d85bd972afee3527ad /docs/x509 | |
parent | 253929a85c45c1313fd68d10ec7a7a45e380d5c0 (diff) | |
download | cryptography-26ac47f1326fb4b8909d40ea0683eafcb9bd858e.tar.gz cryptography-26ac47f1326fb4b8909d40ea0683eafcb9bd858e.tar.bz2 cryptography-26ac47f1326fb4b8909d40ea0683eafcb9bd858e.zip |
update prose for from_issuer_public_key
Diffstat (limited to 'docs/x509')
-rw-r--r-- | docs/x509/reference.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index a05be164..930c7f9f 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -1166,10 +1166,14 @@ X.509 Extensions Creates a new AuthorityKeyIdentifier instance using the public key provided to generate the appropriate digest. This should be the - **issuer public key**. The resulting object will contain a - :attr:`~cryptography.x509.AuthorityKeyIdentifier.key_identifier`. - The generated digest is the SHA1 hash of the ``subjectPublicKey`` A - SN.1 bit string. This is the first recommendation in :rfc:`5280` + **issuer's public key**. The resulting object will contain + :attr:`~cryptography.x509.AuthorityKeyIdentifier.key_identifier`, but + :attr:`~cryptography.x509.AuthorityKeyIdentifier.authority_cert_issuer` + and + :attr:`~cryptography.x509.AuthorityKeyIdentifier.authority_cert_serial_number` + will be None. + The generated ``key_identifier`` is the SHA1 hash of the ``subjectPublicKey`` + ASN.1 bit string. This is the first recommendation in :rfc:`5280` section 4.2.1.2. :param certificate: The issuing :class:`~cryptography.x509.Certificate`. |