Copy as Markdown

Other Tools

/*
* 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 nsIWebAuthnAttObj : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBAUTHNATTOBJ_IID)
/* readonly attribute Array<octet> attestationObject; */
NS_IMETHOD GetAttestationObject(nsTArray<uint8_t >& aAttestationObject) = 0;
/* readonly attribute Array<octet> authenticatorData; */
NS_IMETHOD GetAuthenticatorData(nsTArray<uint8_t >& aAuthenticatorData) = 0;
/* readonly attribute Array<octet> publicKey; */
NS_IMETHOD GetPublicKey(nsTArray<uint8_t >& aPublicKey) = 0;
/* readonly attribute COSEAlgorithmIdentifier publicKeyAlgorithm; */
NS_IMETHOD GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm) = 0;
/* boolean isIdentifying (); */
NS_IMETHOD IsIdentifying(bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebAuthnAttObj, NS_IWEBAUTHNATTOBJ_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIWEBAUTHNATTOBJ \
NS_IMETHOD GetAttestationObject(nsTArray<uint8_t >& aAttestationObject) override; \
NS_IMETHOD GetAuthenticatorData(nsTArray<uint8_t >& aAuthenticatorData) override; \
NS_IMETHOD GetPublicKey(nsTArray<uint8_t >& 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 \
nsresult GetAttestationObject(nsTArray<uint8_t >& aAttestationObject); \
nsresult GetAuthenticatorData(nsTArray<uint8_t >& aAuthenticatorData); \
nsresult GetPublicKey(nsTArray<uint8_t >& aPublicKey); \
nsresult GetPublicKeyAlgorithm(COSEAlgorithmIdentifier *aPublicKeyAlgorithm); \
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<uint8_t >& aAttestationObject) override { return _to GetAttestationObject(aAttestationObject); } \
NS_IMETHOD GetAuthenticatorData(nsTArray<uint8_t >& aAuthenticatorData) override { return _to GetAuthenticatorData(aAuthenticatorData); } \
NS_IMETHOD GetPublicKey(nsTArray<uint8_t >& 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<uint8_t >& aAttestationObject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttestationObject(aAttestationObject); } \
NS_IMETHOD GetAuthenticatorData(nsTArray<uint8_t >& aAuthenticatorData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthenticatorData(aAuthenticatorData); } \
NS_IMETHOD GetPublicKey(nsTArray<uint8_t >& 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__ */