All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yubico.data.U2fRegistrationResult Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
package com.yubico.data;

import com.yubico.webauthn.attestation.Attestation;
import com.yubico.webauthn.data.ByteArray;
import com.yubico.webauthn.data.PublicKeyCredentialDescriptor;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;

@Value
@Builder
public class U2fRegistrationResult {

    @NonNull
    private final PublicKeyCredentialDescriptor keyId;

    private final boolean attestationTrusted;

    @NonNull
    private final ByteArray publicKeyCose;

    @NonNull
    @Builder.Default
    private final List warnings = Collections.emptyList();

    @NonNull
    @Builder.Default
    private final Optional attestationMetadata = Optional.empty();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy