Source code
Copy as Markdown
Other Tools
// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_ClientAuthCertificateManagerWrappers_h
#define mozilla_java_ClientAuthCertificateManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class ClientAuthCertificateManager : public mozilla::jni::ObjectBase<ClientAuthCertificateManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/ClientAuthCertificateManager";
explicit ClientAuthCertificateManager(const Context& ctx) : ObjectBase<ClientAuthCertificateManager>(ctx) {}
class ClientAuthCertificate;
struct GetCertificateFromAlias_t {
typedef ClientAuthCertificateManager Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "getCertificateFromAlias";
static constexpr char signature[] =
"(Ljava/lang/String;)[B";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static byte[] getCertificateFromAlias(String)
static auto GetCertificateFromAlias(mozilla::jni::String::Param) -> mozilla::jni::ByteArray::LocalRef;
struct GetCertificateIssuersBytes_t {
typedef ClientAuthCertificateManager Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param> Args;
static constexpr char name[] = "getCertificateIssuersBytes";
static constexpr char signature[] =
"([B)[[B";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static byte[][] getCertificateIssuersBytes(byte[])
static auto GetCertificateIssuersBytes(mozilla::jni::ByteArray::Param) -> mozilla::jni::ObjectArray::LocalRef;
struct GetClientAuthCertificates_t {
typedef ClientAuthCertificateManager Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getClientAuthCertificates";
static constexpr char signature[] =
"()[Lorg/mozilla/gecko/ClientAuthCertificateManager$ClientAuthCertificate;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static ClientAuthCertificate[] getClientAuthCertificates()
static auto GetClientAuthCertificates() -> mozilla::jni::ObjectArray::LocalRef;
struct Sign_t {
typedef ClientAuthCertificateManager Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "sign";
static constexpr char signature[] =
"([B[BLjava/lang/String;)[B";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static byte[] sign(byte[], byte[], String)
static auto Sign(mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::String::Param) -> mozilla::jni::ByteArray::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class ClientAuthCertificateManager::ClientAuthCertificate : public mozilla::jni::ObjectBase<ClientAuthCertificate>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/ClientAuthCertificateManager$ClientAuthCertificate";
explicit ClientAuthCertificate(const Context& ctx) : ObjectBase<ClientAuthCertificate>(ctx) {}
// Suggested header signature for native method:
// void DisposeNative();
struct DisposeNative_t {
typedef ClientAuthCertificate Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "disposeNative";
static constexpr char signature[] =
"()V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
struct GetCertificateBytes_t {
typedef ClientAuthCertificate Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getCertificateBytes";
static constexpr char signature[] =
"()[B";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// byte[] getCertificateBytes()
auto GetCertificateBytes() const -> mozilla::jni::ByteArray::LocalRef;
struct GetIssuersBytes_t {
typedef ClientAuthCertificate Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getIssuersBytes";
static constexpr char signature[] =
"()[[B";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// byte[][] getIssuersBytes()
auto GetIssuersBytes() const -> mozilla::jni::ObjectArray::LocalRef;
struct GetKeyParameters_t {
typedef ClientAuthCertificate Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getKeyParameters";
static constexpr char signature[] =
"()[B";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// byte[] getKeyParameters()
auto GetKeyParameters() const -> mozilla::jni::ByteArray::LocalRef;
struct GetType_t {
typedef ClientAuthCertificate Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getType";
static constexpr char signature[] =
"()I";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// int getType()
auto GetType() const -> int32_t;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_ClientAuthCertificateManagerWrappers_h