Class PublicKeyCredentialCreationOptions

    • Method Detail

      • getTimeout

        public java.util.Optional<java.lang.Long> getTimeout()
      • getRp

        @NonNull
        public @NonNull RelyingPartyIdentity getRp()
        Contains data about the Relying Party responsible for the request.

        Its value's id member specifies the RP ID the credential should be scoped to. If omitted, its value will be set by the client. See RelyingPartyIdentity for further details.

      • getUser

        @NonNull
        public @NonNull UserIdentity getUser()
        Contains data about the user account for which the Relying Party is requesting attestation.
      • getChallenge

        @NonNull
        public @NonNull ByteArray getChallenge()
        A challenge intended to be used for generating the newly created credential’s attestation object. See the §13.1 Cryptographic Challenges security consideration.
      • getPubKeyCredParams

        @NonNull
        public @NonNull java.util.List<PublicKeyCredentialParameters> getPubKeyCredParams()
        Information about the desired properties of the credential to be created.

        The sequence is ordered from most preferred to least preferred. The client makes a best-effort to create the most preferred credential that it can.

      • getExtensions

        @NonNull
        public @NonNull RegistrationExtensionInputs getExtensions()
        Additional parameters requesting additional processing by the client and authenticator.

        For example, the caller may request that only authenticators with certain capabilities be used to create the credential, or that particular information be returned in the attestation object. Some extensions are defined in §9 WebAuthn Extensions; consult the IANA "WebAuthn Extension Identifier" registry established by [WebAuthn-Registries] for an up-to-date list of registered WebAuthn Extensions.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object