/external/python/cryptography/tests/hazmat/primitives/ |
D | test_x25519.py | 104 key.public_bytes() 109 key.public_bytes(None, serialization.PublicFormat.Raw) 111 key.public_bytes(serialization.Encoding.Raw) 140 def test_pub_priv_bytes_raw(self, private_bytes, public_bytes, backend): argument 147 assert private_key.public_key().public_bytes( 149 ) == public_bytes 150 public_key = X25519PublicKey.from_public_bytes(public_bytes) 151 assert public_key.public_bytes( 153 ) == public_bytes 205 key.public_bytes( [all …]
|
D | test_x448.py | 110 def test_pub_priv_bytes_raw(self, private_bytes, public_bytes, backend): argument 117 assert private_key.public_key().public_bytes( 119 ) == public_bytes 120 public_key = X448PublicKey.from_public_bytes(public_bytes) 121 assert public_key.public_bytes( 123 ) == public_bytes 215 key.public_bytes( 221 key.public_bytes( 227 key.public_bytes(
|
D | test_ec.py | 919 pem = public.public_bytes( 955 serialized = key.public_bytes( 972 ssh_bytes = key.public_bytes( 983 key.public_bytes( 999 key.public_bytes( 1030 key.public_bytes(encoding, fmt) 1043 key.public_bytes(serialization.Encoding.PEM, "invalidformat") 1056 key.public_bytes( 1156 key.public_bytes( 1161 assert key.public_bytes( [all …]
|
D | test_dh.py | 604 serialized = key.public_bytes( 646 serialized = pub_key.public_bytes( 700 key.public_bytes( 709 key.public_bytes( 851 key.public_bytes(encoding, fmt)
|
D | test_dsa.py | 921 serialized = key.public_bytes( 933 ssh_bytes = key.public_bytes( 952 key.public_bytes( 960 key.public_bytes(serialization.Encoding.PEM, "invalidformat") 965 key.public_bytes( 994 key.public_bytes(encoding, fmt)
|
D | test_rsa.py | 2255 serialized = key.public_bytes(encoding, format) 2265 ssh_bytes = key.public_bytes( 2276 key.public_bytes( 2280 key.public_bytes( 2284 key.public_bytes( 2289 key.public_bytes( 2297 key.public_bytes("notencoding", serialization.PublicFormat.PKCS1) 2302 key.public_bytes(serialization.Encoding.PEM, "invalidformat") 2329 key.public_bytes(encoding, fmt)
|
/external/python/cryptography/docs/hazmat/primitives/asymmetric/ |
D | x25519.rst | 150 >>> public_bytes = public_key.public_bytes( 154 >>> loaded_public_key = x25519.X25519PublicKey.from_public_bytes(public_bytes) 156 .. method:: public_bytes(encoding, format)
|
D | x448.rst | 145 >>> public_bytes = public_key.public_bytes( 149 >>> loaded_public_key = x448.X448PublicKey.from_public_bytes(public_bytes) 151 .. method:: public_bytes(encoding, format)
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | x509.py | 46 return hash(self.public_bytes(serialization.Encoding.DER)) 50 h.update(self.public_bytes(serialization.Encoding.DER)) 163 def public_bytes(self, encoding): member in _Certificate 324 def public_bytes(self, encoding): member in _CertificateRevocationList 397 self_bytes = self.public_bytes(serialization.Encoding.DER) 398 other_bytes = other.public_bytes(serialization.Encoding.DER) 405 return hash(self.public_bytes(serialization.Encoding.DER)) 452 def public_bytes(self, encoding): member in _CertificateSigningRequest
|
D | x448.py | 23 def public_bytes(self, encoding, format): member in _X448PublicKey
|
D | x25519.py | 26 def public_bytes(self, encoding=None, format=None): member in _X25519PublicKey
|
D | ocsp.py | 322 def public_bytes(self, encoding): member in _OCSPResponse 372 def public_bytes(self, encoding): member in _OCSPRequest
|
/external/python/cryptography/tests/x509/ |
D | test_ocsp.py | 129 assert req.public_bytes(serialization.Encoding.DER) == req_bytes 137 req.public_bytes("invalid") 139 req.public_bytes(serialization.Encoding.PEM) 186 serialized = req.public_bytes(serialization.Encoding.DER) 554 assert resp.public_bytes(serialization.Encoding.DER) == der 745 assert resp.public_bytes(serialization.Encoding.DER) == resp_bytes 753 resp.public_bytes("invalid") 755 resp.public_bytes(serialization.Encoding.PEM)
|
D | test_x509.py | 305 crl = x509.load_pem_x509_crl(crl.public_bytes( 321 crl = x509.load_der_x509_crl(crl.public_bytes( 350 serialized = crl.public_bytes(encoding) 361 crl.public_bytes('NotAnEncoding') 1061 cert = x509.load_pem_x509_certificate(cert.public_bytes( 1084 cert = x509.load_der_x509_certificate(cert.public_bytes( 1106 cert.public_bytes('NotAnEncoding') 1129 serialized = cert.public_bytes(encoding) 1296 request = x509.load_pem_x509_csr(request.public_bytes( 1323 request = x509.load_der_x509_csr(request.public_bytes( [all …]
|
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | x448.py | 28 def public_bytes(self, encoding, format): member in X448PublicKey
|
D | x25519.py | 28 def public_bytes(self, encoding=None, format=None): member in X25519PublicKey
|
D | dh.py | 206 def public_bytes(self, encoding, format): member in DHPublicKey
|
D | dsa.py | 107 def public_bytes(self, encoding, format): member in DSAPublicKey
|
D | rsa.py | 96 def public_bytes(self, encoding, format): member in RSAPublicKey
|
/external/python/cryptography/src/cryptography/x509/ |
D | base.py | 179 def public_bytes(self, encoding): member in Certificate 188 def public_bytes(self, encoding): member in CertificateRevocationList 344 def public_bytes(self, encoding): member in CertificateSigningRequest
|
D | name.py | 230 def public_bytes(self, backend): member in Name
|
D | ocsp.py | 290 def public_bytes(self, encoding): member in OCSPRequest
|
/external/python/cryptography/ |
D | CHANGELOG.rst | 50 :meth:`~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes` 53 …:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes`. Depreca… 400 :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKey.public_bytes` 473 * Added :meth:`~cryptography.x509.Name.public_bytes` to 695 :meth:`~cryptography.x509.CertificateRevocationList.public_bytes` method of 805 ``public_bytes`` method of 807 * Support serialization of certificates using the ``public_bytes`` method of 899 serialization of public keys using the ``public_bytes`` method of 1006 * Added ``public_bytes`` to 1011 * Added ``public_bytes`` to [all …]
|
/external/python/cryptography/docs/x509/ |
D | tutorial.rst | 82 ... f.write(csr.public_bytes(serialization.Encoding.PEM)) 151 ... f.write(cert.public_bytes(serialization.Encoding.PEM))
|
/external/rust/crates/ring/src/rsa/ |
D | convert_nist_rsa_test_vectors.py | 135 der = key.public_bytes(serialization.Encoding.DER,
|