| Index: ppapi/cpp/private/flash_x509_certificate.h
|
| diff --git a/ppapi/cpp/private/flash_x509_certificate.h b/ppapi/cpp/private/flash_x509_certificate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f14306ffedb6bb1a0a116f18415d74f8bde9adbc
|
| --- /dev/null
|
| +++ b/ppapi/cpp/private/flash_x509_certificate.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PPAPI_CPP_PRIVATE_FLASH_X509_CERTIFICATE_H_
|
| +#define PPAPI_CPP_PRIVATE_FLASH_X509_CERTIFICATE_H_
|
| +
|
| +#include "ppapi/c/pp_stdint.h"
|
| +#include "ppapi/c/private/ppb_flash_x509_certificate.h"
|
| +#include "ppapi/cpp/resource.h"
|
| +#include "ppapi/cpp/var.h"
|
| +
|
| +namespace pp {
|
| +
|
| +class X509Certificate : public Resource {
|
| + public:
|
| + // Creates an is_null() object.
|
| + X509Certificate();
|
| + explicit X509Certificate(PP_Resource resource);
|
| + explicit X509Certificate(const InstanceHandle& instance);
|
| +
|
| + // Returns true if the required interface is available.
|
| + static bool IsAvailable();
|
| +
|
| + bool Init(const char* bytes,
|
| + uint32_t length);
|
| + Var GetField(PP_Flash_X509Certificate_Field field);
|
| +};
|
| +
|
| +} // namespace pp
|
| +
|
| +#endif // PPAPI_CPP_PRIVATE_FLASH_X509_CERTIFICATE_H_
|
|
|