@wireapp/core-crypto
    Preparing search index...

    Interface E2eiEnrollmentInterface

    Wire end to end identity solution for fetching a x509 certificate which identifies a client.

    See [core_crypto::e2e_identity::E2eiEnrollment]

    interface E2eiEnrollmentInterface {
        certificateRequest(
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        checkOrderRequest(
            orderUrl: string,
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        checkOrderResponse(
            order: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<string>;
        createDpopToken(
            expirySecs: number,
            backendNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<string>;
        directoryResponse(
            directory: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<AcmeDirectory>;
        finalizeRequest(
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        finalizeResponse(
            finalize: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<string>;
        newAccountRequest(
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        newAccountResponse(
            account: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<void>;
        newAuthzRequest(
            url: string,
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        newAuthzResponse(
            authz: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<NewAcmeAuthz>;
        newDpopChallengeRequest(
            accessToken: string,
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        newDpopChallengeResponse(
            challenge: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<void>;
        newOidcChallengeRequest(
            idToken: string,
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        newOidcChallengeResponse(
            challenge: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<void>;
        newOrderRequest(
            previousNonce: string,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<ArrayBuffer>;
        newOrderResponse(
            order: ArrayBuffer,
            asyncOpts_?: { signal: AbortSignal },
        ): Promise<NewAcmeOrder>;
    }
    Index

    Methods

    • See [core_crypto::E2eiEnrollment::certificate_request]

      Parameters

      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::check_order_request]

      Parameters

      • orderUrl: string
      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::check_order_response]

      Parameters

      • order: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<string>

    • See [core_crypto::e2e_identity::E2eiEnrollment::create_dpop_token]

      Parameters

      • expirySecs: number
      • backendNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<string>

    • See [core_crypto::e2e_identity::E2eiEnrollment::directory_response]

      Parameters

      • directory: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<AcmeDirectory>

    • See [core_crypto::E2eiEnrollment::finalize_request]

      Parameters

      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::E2eiEnrollment::finalize_response]

      Parameters

      • finalize: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<string>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_account_request]

      Parameters

      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_account_response]

      Parameters

      • account: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<void>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_authz_request]

      Parameters

      • url: string
      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_authz_response]

      Parameters

      • authz: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<NewAcmeAuthz>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_dpop_challenge_request]

      Parameters

      • accessToken: string
      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_dpop_challenge_response]

      Parameters

      • challenge: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<void>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_oidc_challenge_request]

      Parameters

      • idToken: string
      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_oidc_challenge_response]

      Parameters

      • challenge: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<void>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_order_request]

      Parameters

      • previousNonce: string
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<ArrayBuffer>

    • See [core_crypto::e2e_identity::E2eiEnrollment::new_order_response]

      Parameters

      • order: ArrayBuffer
      • OptionalasyncOpts_: { signal: AbortSignal }

      Returns Promise<NewAcmeOrder>