
com.wultra.security.powerauth.fido2.model.entity.Credential Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powerauth-fido2-model Show documentation
Show all versions of powerauth-fido2-model Show documentation
PowerAuth Server FIDO2 Model
The newest version!
/*
* PowerAuth Server and related software components
* Copyright (C) 2024 Wultra s.r.o.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package com.wultra.security.powerauth.fido2.model.entity;
import lombok.*;
import lombok.extern.jackson.Jacksonized;
import java.util.Collections;
import java.util.List;
/**
* Representation of a FIDO2 Credential.
*
* @author Jan Pesek, [email protected]
*/
@Getter
@EqualsAndHashCode
@ToString
@Builder
@Jacksonized
public class Credential {
private final byte[] credentialId;
/**
* Currently one credential type is defined, namely {@code public-key}.
*
* @see W3C WebAuthn specification
*/
@Builder.Default
private final String type = "public-key";
@Builder.Default
private final List transports = Collections.emptyList();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy