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_WebAuthnTokenManagerWrappers_h
#define mozilla_java_WebAuthnTokenManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class WebAuthnTokenManager : public mozilla::jni::ObjectBase<WebAuthnTokenManager>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/WebAuthnTokenManager";
explicit WebAuthnTokenManager(const Context& ctx) : ObjectBase<WebAuthnTokenManager>(ctx) {}
class GetAssertionResponse;
class MakeCredentialResponse;
struct WebAuthnGetAssertion_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::Object::Param,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "webAuthnGetAssertion";
static constexpr char signature[] =
"(Ljava/nio/ByteBuffer;[Ljava/lang/Object;Ljava/nio/ByteBuffer;Lorg/mozilla/gecko/util/GeckoBundle;Lorg/mozilla/gecko/util/GeckoBundle;)Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnGetAssertion(ByteBuffer, Object[], ByteBuffer, GeckoBundle, GeckoBundle)
static auto WebAuthnGetAssertion(mozilla::jni::ByteBuffer::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::Object::Param, mozilla::jni::Object::Param) -> mozilla::jni::Object::LocalRef;
struct WebAuthnIsUserVerifyingPlatformAuthenticatorAvailable_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "webAuthnIsUserVerifyingPlatformAuthenticatorAvailable";
static constexpr char signature[] =
"()Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnIsUserVerifyingPlatformAuthenticatorAvailable()
static auto WebAuthnIsUserVerifyingPlatformAuthenticatorAvailable() -> mozilla::jni::Object::LocalRef;
struct WebAuthnMakeCredential_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::Object::Param,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "webAuthnMakeCredential";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/util/GeckoBundle;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;[Ljava/lang/Object;Ljava/nio/ByteBuffer;Lorg/mozilla/gecko/util/GeckoBundle;Lorg/mozilla/gecko/util/GeckoBundle;)Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnMakeCredential(GeckoBundle, ByteBuffer, ByteBuffer, Object[], ByteBuffer, GeckoBundle, GeckoBundle)
static auto WebAuthnMakeCredential(mozilla::jni::Object::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::Object::Param, mozilla::jni::Object::Param) -> mozilla::jni::Object::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
};
class WebAuthnTokenManager::GetAssertionResponse : public mozilla::jni::ObjectBase<GetAssertionResponse>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/WebAuthnTokenManager$GetAssertionResponse";
explicit GetAssertionResponse(const Context& ctx) : ObjectBase<GetAssertionResponse>(ctx) {}
struct New_t {
typedef GetAssertionResponse Owner;
typedef GetAssertionResponse::LocalRef ReturnType;
typedef GetAssertionResponse::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"([B[B[B[B[BLjava/lang/String;)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;
};
// GetAssertionResponse(byte[], byte[], byte[], byte[], byte[], String)
static auto New(mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::String::Param) -> GetAssertionResponse::LocalRef;
struct AuthData_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "authData";
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;
};
auto AuthData() const -> mozilla::jni::ByteArray::LocalRef;
struct AuthenticatorAttachment_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::String::LocalRef ReturnType;
typedef mozilla::jni::String::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "authenticatorAttachment";
static constexpr char signature[] =
"Ljava/lang/String;";
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;
};
auto AuthenticatorAttachment() const -> mozilla::jni::String::LocalRef;
struct ClientDataJson_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "clientDataJson";
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;
};
auto ClientDataJson() const -> mozilla::jni::ByteArray::LocalRef;
struct KeyHandle_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "keyHandle";
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;
};
auto KeyHandle() const -> mozilla::jni::ByteArray::LocalRef;
struct Signature_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "signature";
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;
};
auto Signature() const -> mozilla::jni::ByteArray::LocalRef;
struct UserHandle_t {
typedef GetAssertionResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "userHandle";
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;
};
auto UserHandle() const -> mozilla::jni::ByteArray::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class WebAuthnTokenManager::MakeCredentialResponse : public mozilla::jni::ObjectBase<MakeCredentialResponse>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/WebAuthnTokenManager$MakeCredentialResponse";
explicit MakeCredentialResponse(const Context& ctx) : ObjectBase<MakeCredentialResponse>(ctx) {}
struct New_t {
typedef MakeCredentialResponse Owner;
typedef MakeCredentialResponse::LocalRef ReturnType;
typedef MakeCredentialResponse::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::ByteArray::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"([B[B[B[Ljava/lang/String;Ljava/lang/String;)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;
};
// MakeCredentialResponse(byte[], byte[], byte[], String[], String)
static auto New(mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::ByteArray::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::String::Param) -> MakeCredentialResponse::LocalRef;
struct AttestationObject_t {
typedef MakeCredentialResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "attestationObject";
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;
};
auto AttestationObject() const -> mozilla::jni::ByteArray::LocalRef;
struct AuthenticatorAttachment_t {
typedef MakeCredentialResponse Owner;
typedef mozilla::jni::String::LocalRef ReturnType;
typedef mozilla::jni::String::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "authenticatorAttachment";
static constexpr char signature[] =
"Ljava/lang/String;";
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;
};
auto AuthenticatorAttachment() const -> mozilla::jni::String::LocalRef;
struct ClientDataJson_t {
typedef MakeCredentialResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "clientDataJson";
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;
};
auto ClientDataJson() const -> mozilla::jni::ByteArray::LocalRef;
struct KeyHandle_t {
typedef MakeCredentialResponse Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "keyHandle";
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;
};
auto KeyHandle() const -> mozilla::jni::ByteArray::LocalRef;
struct Transports_t {
typedef MakeCredentialResponse Owner;
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
typedef mozilla::jni::ObjectArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "transports";
static constexpr char signature[] =
"[Ljava/lang/String;";
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;
};
auto Transports() const -> mozilla::jni::ObjectArray::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_WebAuthnTokenManagerWrappers_h