| Index: net/cert/sha256_legacy_support_win.h
|
| diff --git a/net/cert/sha256_legacy_support_win.h b/net/cert/sha256_legacy_support_win.h
|
| index fce93dd95fdb49265229215ed4b272c9c15d6e0c..054a3c09a80b866916576296d48682174b8ba6a5 100644
|
| --- a/net/cert/sha256_legacy_support_win.h
|
| +++ b/net/cert/sha256_legacy_support_win.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <windows.h>
|
|
|
| +#include "base/strings/string_piece.h"
|
| #include "crypto/wincrypt_shim.h"
|
| #include "net/base/net_export.h"
|
|
|
| @@ -41,6 +42,21 @@ NET_EXPORT BOOL CryptVerifyCertificateSignatureExHook(
|
| DWORD flags,
|
| void* extra);
|
|
|
| +// Returns true if |subject_type| a supported subject type for interception.
|
| +bool IsSupportedSubjectType(DWORD subject_type);
|
| +
|
| +// Returns true if |issuer_type| is a supported issuer type for interception.
|
| +bool IsSupportedIssuerType(DWORD issuer_type);
|
| +
|
| +// Returns the encoded form of |subject_data| or an empty StringPiece if not
|
| +// supported.
|
| +base::StringPiece GetSubjectSignature(DWORD subject_type,
|
| + void* subject_data);
|
| +
|
| +// Returns the public key of |issuer_data| or NULL if not supported.
|
| +PCERT_PUBLIC_KEY_INFO GetIssuerPublicKey(DWORD issuer_type,
|
| + void* issuer_data);
|
| +
|
| } // namespace sha256_interception
|
|
|
| } // namespace net
|
|
|