View Source GoogleApi.ContentWarehouse.V1.Model.TrawlerSSLCertificateInfo (google_api_content_warehouse v0.4.0)
This protobuf specifies the results of https certificate validation, typically used for the BadSSLCertificate field in FetchReplyData. -------------------------- Next Tag: 13 -------------------------------
Attributes
-
ALPNNegotiatedProtocol
(type:String.t
, default:nil
) - ALPN negotiated protocol, see https://tools.ietf.org/html/rfc7301 The value will either be empty, or one of the protocol names sent by the client that the server accepted. Examples include "h2" and "acme-tls/1". -
CertificateChain
(type:list(String.t)
, default:nil
) - If present, this consists of the remote webserver's X.509 certificate chain in DER format. The chain stored here is the reversed result of SSL_get_peer_cert_chain(). That is to say, it is the chain presented by the peer (which may differ from the chain that was built and verified), but in leaf-last order. Typically the root cert will not be included. But do not assume anything, because servers do all manner of weird things. (For example on the beginning of the chain, there might be also some irrelevant certificates besides the root certificate.) Certificates may be the empty string, indicating an encoding failure. See also |IsTruncated|. Certs can be loaded with util/sig/cert.h Cert::LoadBinaryCert(), converted to ASCII PEM format (CertificateUtil::CertificateToPEM()) or shown as text at the commandline by piping them into 'openssl x509 -text -inform DER'. -
ErrorMessages
(type:list(String.t)
, default:nil
) - ErrorMessages contains errors from HTTPS validation. Examples of such errors include invalid certificates, failure to build a certificate chain, certificates that do not match the expected hostname, and internal errors. If ErrorMessages is empty, HTTPS validation succeeded. Otherwise, it failed. This is the only guarantee about the contents of this field, though legacy code exists that embeds invalid assumptions, b/70904498. New code should not do anything with this field other than test whether it is empty and display its value to humans. If you need to know more about the details of a particular HTTPS validation, you can revalidate |CertificateChain| independently. -
IsTruncated
(type:boolean()
, default:nil
) - This SSLCertificateInfo had its fields truncated because it was too large. It is no longer set (cl/205356251) but may be true in old records. -
OCSPResponse
(type:String.t
, default:nil
) - Stapled OCSP response obtained during the TLS handshake, if any. An OCSP (Online Certificate Status Protocol) response is an indication, signed by the issuing CA, that the certificate has not been revoked. A TLS handshake extension allows servers to "staple" a response to the certificate served in the handshake, saving the need for the client to fetch it itself from the CA. This field contain the stapled OCSP response if the server served one. See RFC6066, Section 8 for the data format: https://tools.ietf.org/html/rfc6066#section-8 -
SCTList
(type:String.t
, default:nil
) - SCTList obtained during the TLS handshake, if any. See RFC6962, Section 3.3 for the data format: https://tools.ietf.org/html/rfc6962#section-3.3 -
SSLCipherSuite
(type:integer()
, default:nil
) - -
SSLCipherSuiteName
(type:String.t
, default:nil
) - -
SSLProtocolVersion
(type:integer()
, default:nil
) - Details about the SSL/TLS protocol and cipher. See RFC5246 and google3/crawler/trawler/hope/proto/ssl.proto for more details. -
SSLProtocolVersionName
(type:String.t
, default:nil
) - The names of the SSL protocol version and cipher suite. These strings are implementation defined and may be subject to change.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TrawlerSSLCertificateInfo{ ALPNNegotiatedProtocol: String.t() | nil, CertificateChain: [String.t()] | nil, ErrorMessages: [String.t()] | nil, IsTruncated: boolean() | nil, OCSPResponse: String.t() | nil, SCTList: String.t() | nil, SSLCipherSuite: integer() | nil, SSLCipherSuiteName: String.t() | nil, SSLProtocolVersion: integer() | nil, SSLProtocolVersionName: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.