/* * DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/webauthn/nsIWebAuthnAttObj.idl */ #ifndef __gen_nsIWebAuthnAttObj_h__ #define __gen_nsIWebAuthnAttObj_h__ #include "nsISupports.h" #include "nsIWebAuthnArgs.h" #include "nsTArray.h" /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif /* starting interface: nsIWebAuthnAttObj */ #define NS_IWEBAUTHNATTOBJ_IID_STR "91e41be0-ed73-4a10-b55e-3312319bfddf" #define NS_IWEBAUTHNATTOBJ_IID \ {0x91e41be0, 0xed73, 0x4a10, \ { 0xb5, 0x5e, 0x33, 0x12, 0x31, 0x9b, 0xfd, 0xdf }} class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsIWebAuthnAttObj) nsIWebAuthnAttObj : public nsISupports { public: NS_INLINE_DECL_STATIC_IID(NS_IWEBAUTHNATTOBJ_IID) /* readonly attribute Array attestationObject; */ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_attestationObject) NS_IMETHOD GetAttestationObject(nsTArray& aAttestationObject) = 0; /* readonly attribute Array authenticatorData; */ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_authenticatorData) NS_IMETHOD GetAuthenticatorData(nsTArray& aAuthenticatorData) = 0; /* readonly attribute Array publicKey; */ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_publicKey) NS_IMETHOD GetPublicKey(nsTArray& aPublicKey) = 0; /* readonly attribute COSEAlgorithmIdentifier publicKeyAlgorithm; */ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_publicKeyAlgorithm) NS_IMETHOD GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm) = 0; /* boolean isIdentifying (); */ MOZ_BINDING(binding_to, idl, method, XPIDL_nsIWebAuthnAttObj_isIdentifying) NS_IMETHOD IsIdentifying(bool *_retval) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIWEBAUTHNATTOBJ \ NS_IMETHOD GetAttestationObject(nsTArray& aAttestationObject) override; \ NS_IMETHOD GetAuthenticatorData(nsTArray& aAuthenticatorData) override; \ NS_IMETHOD GetPublicKey(nsTArray& aPublicKey) override; \ NS_IMETHOD GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm) override; \ NS_IMETHOD IsIdentifying(bool *_retval) override; /* Use this macro when declaring the members of this interface when the class doesn't implement the interface. This is useful for forwarding. */ #define NS_DECL_NON_VIRTUAL_NSIWEBAUTHNATTOBJ \ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_attestationObject)\ nsresult GetAttestationObject(nsTArray& aAttestationObject); \ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_authenticatorData)\ nsresult GetAuthenticatorData(nsTArray& aAuthenticatorData); \ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_publicKey)\ nsresult GetPublicKey(nsTArray& aPublicKey); \ MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIWebAuthnAttObj_publicKeyAlgorithm)\ nsresult GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm); \ MOZ_BINDING(binding_to, idl, method, XPIDL_nsIWebAuthnAttObj_isIdentifying)\ nsresult IsIdentifying(bool *_retval); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIWEBAUTHNATTOBJ(_to) \ NS_IMETHOD GetAttestationObject(nsTArray& aAttestationObject) override { return _to GetAttestationObject(aAttestationObject); } \ NS_IMETHOD GetAuthenticatorData(nsTArray& aAuthenticatorData) override { return _to GetAuthenticatorData(aAuthenticatorData); } \ NS_IMETHOD GetPublicKey(nsTArray& aPublicKey) override { return _to GetPublicKey(aPublicKey); } \ NS_IMETHOD GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm) override { return _to GetPublicKeyAlgorithm(aPublicKeyAlgorithm); } \ NS_IMETHOD IsIdentifying(bool *_retval) override { return _to IsIdentifying(_retval); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIWEBAUTHNATTOBJ(_to) \ NS_IMETHOD GetAttestationObject(nsTArray& aAttestationObject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttestationObject(aAttestationObject); } \ NS_IMETHOD GetAuthenticatorData(nsTArray& aAuthenticatorData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthenticatorData(aAuthenticatorData); } \ NS_IMETHOD GetPublicKey(nsTArray& aPublicKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPublicKey(aPublicKey); } \ NS_IMETHOD GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPublicKeyAlgorithm(aPublicKeyAlgorithm); } \ NS_IMETHOD IsIdentifying(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsIdentifying(_retval); } #endif /* __gen_nsIWebAuthnAttObj_h__ */