diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 390916e..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,5 +0,0 @@
-FROM openjdk:8-jdk-alpine
-WORKDIR /workspace/app
-COPY . .
-RUN ./rpserver/gradlew bootJar
-RUN ./server/gradlew dockerBuild
\ No newline at end of file
diff --git a/README.md b/README.md
index c5c5050..aa756c6 100644
--- a/README.md
+++ b/README.md
@@ -4,183 +4,213 @@
![Repo Size](https://img.shields.io/github/repo-size/line/line-fido2-server)
![License Apache-2.0](https://img.shields.io/github/license/line/line-fido2-server)
![Top Language](https://img.shields.io/github/languages/top/line/line-fido2-server)
-![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.4.3-green)
-![Java version](https://img.shields.io/badge/Java-1.8-green)
-![Data base](https://img.shields.io/badge/DataBase-MySQL%2FH2%2FRedis-blue)
+![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.7.12-green)
+![Java version](https://img.shields.io/badge/Java-11-green)
+![Data base](https://img.shields.io/badge/Storage-MySQL%2FH2%2FRedis-blue)
![Last Commit](https://img.shields.io/github/last-commit/line/line-fido2-server)
+
> **FIDO2(WebAuthn) Server officially certified by FIDO Alliance**
-
+
## Overview
+FIDO (Fast IDentity Online) is an open standard for online authentication, aiming to eliminate the vulnerabilities of
+passwords. FIDO uses public-key cryptography instead of symmetric credentials like passwords or PINs.
+In essence, the user's device generates a key pair, storing the private key securely and sharing the public key with the
+server. During both registration and authentication, the server challenges the device, and the device responds with a
+digital signature using the private key. The server then verifies this signature with the stored public key. This
+challenge-response protocol helps prevent replay attacks.
-FIDO (Fast IDentity Online) is an open standard for online authentication. It is designed to solve the password problems stemming from a lot of security problems as we are suffering today.
-
-Rather than relying on symmetric credentials (like passwords or PINs, typically which is a knowledge-based factor), FIDO is based on a public-key cryptography algorithm that is based on asymmetric credentials.
+### What is FIDO2?
-Simply, the device generates the key pair and stores the private key within the secure area, and sends the corresponding public key (as the name implies it is okay to be public) to the server.
+FIDO2 is an enhancement of the FIDO standard for web and other platforms, supported by major web browsers and operating
+systems. It encompasses two primary operations: Registration and Authentication.
-Then, if the authentication is needed, the server sends challenges to the device and the device generates the digital signature with the private key and sends it to the server.
-
-Finally, the server can validate the signature with the registered public key.
+#### Registration
-### What is FIDO2
-FIDO2 is an improved standard for use on the web and other platforms as well as mobile. Various web browsers and OS platforms currently support the FIDO2 standard API.
+- The user selects a FIDO authenticator that meets the service’s acceptance policy.
+- The user unlocks the authenticator via fingerprint, PIN, or another method.
+- A public/private key pair is generated; the public key is sent to the service and associated with the user’s account,
+ while the private key remains on the device.
+- The service challenges the device, which then creates a response using the private key to finish the registration
+ process.
-Basically, FIDO2 has the following operations - Registration, Authentication.
+#### Authentication
-#### Registration
-- The user is prompted to choose an available FIDO authenticator that matches the online service’s acceptance policy.
-- User unlocks the FIDO authenticator using a fingerprint reader, a button on a second–factor device, securely–entered PIN, or other methods.
-- The user’s device creates a new public/private key pair unique for the local device, online service, and user’s account.
-- The public key is sent to the online service and associated with the user’s account. The private key and any information about the local authentication method (such as biometric measurements or templates) never leave the local device.
+- The service challenges the user to log in with a previously registered device.
+- The user unlocks the authenticator using the same method as during registration.
+- The device signs the service’s challenge and sends it back to the service.
+- The service verifies the signature with the stored public key and grants access.
-#### Authentication
-- Online service challenges the user to log in with a previously registered device that matches the service’s acceptance policy.
-- User unlocks the FIDO authenticator using the same method as at Registration time.
-- The device uses the user’s account identifier provided by the service to select the correct key and sign the service’s challenge.
-- The client device sends the signed challenge back to the service, which verifies it with the stored public key and lets the user log in.
+### Challenge-Response Protocol
+Both the registration and authentication processes utilize a challenge-response protocol to prevent replay attacks.
+During registration, a challenge is sent from the server to the device and the device responds using its private key.
+Similarly, during authentication, another challenge is sent to verify the user's identity. This ensures that each
+attempt is unique and secure.
## Screenshots
-### Chrome on Mac with TouchId
-
-### Chrome on Mac with Secret Key (2FA)
-
+### Chrome on Mac with Touch ID
-### Chrome on Android with Fingerprint (Reg)
-
-
-### Chrome on Android with Fingerprint (Auth)
-
+
## Modules
-- server: The FIDO2 server implementation conforming to the FIDO2 standard
-- common: FIDO2 related common models
-- rp-server: The sample application with a FIDO2 RP implementation
-- spring-boot-stater: The spring-boot-starter version of the LINE FIDO2 server application that can be easily integrated into a Spring Boot environment
+
+- **rp-server**:
+ - RP Server Demo
+ - Depends on **common**
+- **common**:
+ - Message classes that are commonly referenced by both the FIDO2 Server and the RP Server
+- **core**:
+ - Contains the core domain logic of FIDO
+ - If the FIDO2 server being implemented does not interact with an RDB, this module alone should be used
+ - Depends on **common**
+- **base**:
+ - Contains classes that depend on Spring JPA
+ - Service Implement classes, Repository interfaces, Entity classes
+ - Depends on **core**
+- **demo**:
+ - FIDO2 server demo application
+ - Depends on **base**
## Features
-- Supported attestation types
- - Basic
- - Self
- - Attestation CA (a.k.a Privacy CA)
- - None
- - Anonymization CA
-- Supported attestation formats
- - Packed (FIDO2)
- - Tpm (Windows10 devices)
- - Android key attestation
- - Android SafetyNet (Any Android devices running 7+)
- - FIDO U2F (Legacy U2F authenticators)
- - Apple Anonymous
- - None
-- Metadata service integration
- - FIDO MDSv2
-
-## How to run
-You need to run the FIDO2 server and RP Server first.
-
-If you want to integrate your own RP Server, please implement APIs by referring to the sample codes. Regarding client sides, you may implement the web app for communicating with the RP server.
-
-We also provide our server in the form of a spring boot starter.
-Check out the spring-boot-starter directory.
-
-### Manual
+
+- Supported attestation types:
+ - Basic
+ - Self
+ - Attestation CA (Privacy CA)
+ - None
+ - Anonymization CA
+- Supported attestation formats:
+ - Packed
+ - TPM
+ - Android Key Attestation
+ - Android SafetyNet
+ - FIDO U2F
+ - Apple Anonymous
+ - None
+- Metadata service integration:
+ - FIDO MDSv3
+
+## How to Run
+
+### Manual Run
+
+Start the RP Server and FIDO2 Server:
```bash
# Start RP Server
cd rpserver
./gradlew bootRun
-# Start FIDO2 Server or Line-fido2-spring-boot Demo
-cd server
-./gradlew bootRun
-
-cd spring-boot-starter/line-fido2-spring-boot-demo
+# Start FIDO2 Server
+cd fido2-demo/demo
./gradlew bootRun
```
+
### Docker for demo
-If the [Docker environment is configured](https://docs.docker.com/get-started/), You can easily run applications with docker-compose.
+
+If you have Docker configured, you can use docker-compose.
```bash
# Start both RP Server and FIDO2 Server
docker-compose up
```
-After running the applications, you can open the test page at the link below.
+Once the applications are running, access the test page at:
-**http://localhost:8080/**
+- http://localhost:8080/
### Local DB
-FIDO2 Server running on local environments uses h2 as an embedded DB. This needs to be replaced with commercial standalone DB for other environments such as staging, beta or real.
-
-In the case of the local environment, you can use the h2 console. Add the following path /h2-console to the fido server URL to access the h2 web console.
-e.g., http://localhost:8081/h2-console
+The FIDO2 Server uses H2 as an embedded DB in a local environment, which should be replaced with a standalone DB (like
+MySQL) for staging, beta, or production environments. Access the H2 web console at:
-
-If the below error occurs while logging in to h2-console,
-```
-No suitable driver found for 08001/0
-```
-try to remove or comment out *logbook-spring-boot-starter* from build.gradle.
-
-```
-implementation('org.zalando:logbook-spring-boot-starter:1.8.1')
-```
-
-### Lombok
-This project utilizes Lombok to reduce implementing getter/setter/constructors. You need the Lombok plugin to build with IntelliJ and Eclipse.
-See the following web pages to get information.
-
-https://projectlombok.org/
+- http://localhost:8081/h2-console
### Issues
+
- If data.sql doesn't work well in an IntelliJ environment,
try commenting on this part in build.gradle.
+
```groovy
jar {
- processResources {
- exclude("**/*.sql")
- }
-}
-```
-- If Fido2StarterDemoApplication doesn't work well, try commenting on this part in build.gradle.
-```groovy
-task dockerBuild() {
- jar.enabled = false
- dependsOn(bootJar)
+ processResources {
+ exclude("**/*.sql")
+ }
}
```
+
## API Guides
-After running the applications, you can view API guide documents at the link below.
### Spring REST Docs
+
+To view the API documentation, follow these steps:
+
+1. Execute the following commands:
+ ```bash
+ cd fido2-demo/demo
+ ./gradlew makeRestDocs
+ ./gradlew bootRun
+ ```
+2. Access the API documentation at the following path:
+
- server: http://localhost:8081/docs/api-guide.html
### Swagger UI
+
+After running the applications, you can view API guide documents at the link below.
+
- rpserver: http://localhost:8080/swagger-ui.html
- server: http://localhost:8081/swagger-ui.html
+## LINE WebAuthn Android and iOS
+
+We are also providing Client SDK for Android/iOS applications. Please see below.
+
+- [Introducing Fido2 Client SDK open source](https://techblog.lycorp.co.jp/ko/introducing-fido2-client-sdk-open-source)
+- [LINE Webauthn Demo Kotlin](https://github.com/line/webauthndemo-kotlin)
+- [LINE Webauthn Demo Swift](https://github.com/line/webauthndemo-swift)
+
+### checkOrigin Configuration
+
+The `checkOrigin` method validates the origin of requests from LINE's Android and iOS applications. It ensures security
+by checking that the request's origin matches a pre-configured list of allowed origins.
+
+How to Configure
+To use the `checkOrigin` method, set up the allowed origins in the `application.yml` file. Here is an example
+configuration:
+
+```yaml
+app:
+ origins:
+ - android:aaa-bbb
+ - ios:aaa-bbb
+```
+
+**Note:** Replace `aaa-bbb` with the appropriate values for your application.
+
+**Important:** This configuration is optional and only necessary when integrating with LINE WebAuthn for Android and iOS
+applications.
+
## References
-`LINE Engineering Blogs`
+
+`LY Engineering Blogs`
+
- [FIDO at LINE: A First Step to a World Without Passwords](https://engineering.linecorp.com/en/blog/fido-at-line/)
- [FIDO at LINE: FIDO2 server as an open-source project](https://engineering.linecorp.com/en/blog/fido-at-line-fido2-server-opensource/)
+- [Introducing Fido2 Client SDK open source](https://techblog.lycorp.co.jp/ko/introducing-fido2-client-sdk-open-source)
+
+`LY Tech Videos`
-`LINE DevDay Videos`
- [Open source contribution Starting with LINE FIDO2 Server](https://youtu.be/xKzXi5ic4Do)
- [Strong customer authentication & biometrics using FIDO](https://youtu.be/S1y9wFh7_dc)
- [Cross Platform Mobile Security At LINE](https://youtu.be/4288h-EamTU)
- [Secure LINE login with biometric key replacing password](https://youtu.be/vCAu-y-iwyw)
`Internal`
-- [Sequence Diagram](https://github.com/line/line-fido2-server/wiki/Sequence-diagrams)
-`External`
-- [FIDO2: WebAuthn & CTAP](https://fidoalliance.org/fido2/)
-- [WebAuthn Level 2](https://www.w3.org/TR/2021/REC-webauthn-2-20210408/)
-- [CTAP v2.1](https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html)
+- [Sequence Diagram](https://github.com/line/line-fido2-server/wiki/Sequence-diagrams)
diff --git a/build.gradle b/build.gradle
index 0d7ad4a..c5fb934 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -14,5 +14,21 @@
* under the License.
*/
-group 'com.linecorp.line.auth.fido.fido2'
-version '1.0-SNAPSHOT'
\ No newline at end of file
+subprojects {
+ apply plugin: 'java'
+ apply plugin: 'maven-publish'
+
+ sourceCompatibility = '11'
+ targetCompatibility = '11'
+
+ group = 'com.linecorp.line.auth.fido.fido2'
+ version = '1.0.0-SNAPSHOT'
+
+ repositories {
+ mavenCentral()
+ maven {
+ url "https://plugins.gradle.org/m2/"
+ }
+ google()
+ }
+}
diff --git a/common/build.gradle b/common/build.gradle
index 4b474c5..88b8f14 100644
--- a/common/build.gradle
+++ b/common/build.gradle
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -14,20 +14,6 @@
* under the License.
*/
-plugins {
- id 'java'
-}
-
-apply plugin: 'maven'
-group 'com.linecorp.line.auth.fido.fido2'
-version '1.1.1-SNAPSHOT'
-
-sourceCompatibility = 1.8
-
-repositories {
- mavenCentral()
-}
-
test {
useJUnitPlatform()
}
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AttestationConveyancePreference.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AttestationConveyancePreference.java
index cee7650..6c8110b 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AttestationConveyancePreference.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AttestationConveyancePreference.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorAttachment.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorAttachment.java
index 30a1ac2..3e91135 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorAttachment.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorAttachment.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorSelectionCriteria.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorSelectionCriteria.java
index 24c853e..5138d45 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorSelectionCriteria.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorSelectionCriteria.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorTransport.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorTransport.java
index 0acf3d5..a738e31 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorTransport.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/AuthenticatorTransport.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/COSEAlgorithmIdentifier.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/COSEAlgorithmIdentifier.java
index f470f4c..416c1c2 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/COSEAlgorithmIdentifier.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/COSEAlgorithmIdentifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Credential.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Credential.java
index 44248d4..aa6f672 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Credential.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Credential.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Extension.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Extension.java
index 04b582a..42f1941 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Extension.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/Extension.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialEntity.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialEntity.java
index f307196..e59488f 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialEntity.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialEntity.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialParameters.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialParameters.java
index f60b94b..637416e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialParameters.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialParameters.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialRpEntity.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialRpEntity.java
index b1a9c19..1b0c799 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialRpEntity.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialRpEntity.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialType.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialType.java
index 312814d..cd27148 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialType.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialType.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialUserEntity.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialUserEntity.java
index f00f730..2c97602 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialUserEntity.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/PublicKeyCredentialUserEntity.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBinding.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBinding.java
index 583f213..d285076 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBinding.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBinding.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBindingStatus.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBindingStatus.java
index 990a639..cabdf40 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBindingStatus.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/TokenBindingStatus.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/UserVerificationRequirement.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/UserVerificationRequirement.java
index 954cc76..c6b8e03 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/UserVerificationRequirement.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/UserVerificationRequirement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/crypto/Digests.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/crypto/Digests.java
index 8aad606..adf784e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/crypto/Digests.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/crypto/Digests.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientInputs.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientInputs.java
index c09b6dc..2d324f0 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientInputs.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientInputs.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientOutputs.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientOutputs.java
index cb42842..d36a51c 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientOutputs.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticationExtensionsClientOutputs.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticatorBiometricPerfBounds.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticatorBiometricPerfBounds.java
index ac0df70..218d06e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticatorBiometricPerfBounds.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/AuthenticatorBiometricPerfBounds.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/Coordinates.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/Coordinates.java
index ee86cbb..40c3dca 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/Coordinates.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/Coordinates.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredProtect.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredProtect.java
index aa59c98..460ba09 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredProtect.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredProtect.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialPropertiesOutput.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialPropertiesOutput.java
index 58d18c9..4565935 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialPropertiesOutput.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialPropertiesOutput.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialProtectionPolicy.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialProtectionPolicy.java
index 3c65c99..69ab42d 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialProtectionPolicy.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/CredentialProtectionPolicy.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/KeyProtectionType.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/KeyProtectionType.java
index 9b96cd1..0489beb 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/KeyProtectionType.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/KeyProtectionType.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/MatcherProtectionType.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/MatcherProtectionType.java
index b45e1c5..ea39636 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/MatcherProtectionType.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/MatcherProtectionType.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/SupportedExtensions.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/SupportedExtensions.java
index 6a01cfa..57acd14 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/SupportedExtensions.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/SupportedExtensions.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/TxAuthGenericAlg.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/TxAuthGenericAlg.java
index 52e9a36..98be855 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/TxAuthGenericAlg.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/TxAuthGenericAlg.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/UserVerificationMethod.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/UserVerificationMethod.java
index 33490aa..0e71682 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/UserVerificationMethod.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/extension/UserVerificationMethod.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorGetInfo.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorGetInfo.java
index c9a5340..bafe1b8 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorGetInfo.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorGetInfo.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorStatus.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorStatus.java
index 9d17289..3a8334e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorStatus.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/AuthenticatorStatus.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayload.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayload.java
index 0fece7a..0c83645 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayload.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayload.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayloadEntry.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayloadEntry.java
index a190ef7..b318b77 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayloadEntry.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/MetadataBLOBPayloadEntry.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/StatusReport.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/StatusReport.java
index 393499a..6625b08 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/StatusReport.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/StatusReport.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricAccuracyDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricAccuracyDescriptor.java
index 96d2a6a..02d22b3 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricAccuracyDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricAccuracyDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricStatusReport.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricStatusReport.java
index aaa50e1..13b860d 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricStatusReport.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/BiometricStatusReport.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/CodeAccuracyDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/CodeAccuracyDescriptor.java
index eedd6e4..7e4c6ff 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/CodeAccuracyDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/CodeAccuracyDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/DisplayPNGCharacteristicsDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/DisplayPNGCharacteristicsDescriptor.java
index 6df734f..cbedcde 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/DisplayPNGCharacteristicsDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/DisplayPNGCharacteristicsDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/EcdaaTrustAnchor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/EcdaaTrustAnchor.java
index 91657e2..9461f49 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/EcdaaTrustAnchor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/EcdaaTrustAnchor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/ExtensionDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/ExtensionDescriptor.java
index 8f5de0f..95bd7b6 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/ExtensionDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/ExtensionDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/MetadataStatement.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/MetadataStatement.java
index 89e602a..6f37704 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/MetadataStatement.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/MetadataStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/PatternAccuracyDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/PatternAccuracyDescriptor.java
index 0bf2df3..eec7fd6 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/PatternAccuracyDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/PatternAccuracyDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/RgbPaletteEntry.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/RgbPaletteEntry.java
index a054e66..6dbee59 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/RgbPaletteEntry.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/RgbPaletteEntry.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/VerificationMethodDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/VerificationMethodDescriptor.java
index 185d817..4a4c44c 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/VerificationMethodDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/metadata/VerificationMethodDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/protocol/Version.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/protocol/Version.java
index 4f0f6a3..6c9dd1a 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/protocol/Version.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/mdsv3/protocol/Version.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2022 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AttestationType.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AttestationType.java
index ba24e33..92eb7d0 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AttestationType.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AttestationType.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionRequest.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionRequest.java
index df1de03..3012236 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionRequest.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionRequest.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionResponse.java
index 3c66843..4c226c2 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/AuthOptionResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64Encoded.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64Encoded.java
index 3a2dd66..5fe87c8 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64Encoded.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64Encoded.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64EncodedValidator.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64EncodedValidator.java
index dfd805f..590d9b1 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64EncodedValidator.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/Base64EncodedValidator.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/BaseResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/BaseResponse.java
index de34d7e..cc3837e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/BaseResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/BaseResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/COSEAlgorithm.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/COSEAlgorithm.java
index 18d44b6..bff45b4 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/COSEAlgorithm.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/COSEAlgorithm.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialResult.java
index 49874b2..ffca439 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialsResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialsResult.java
index d9d7171..06017b9 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialsResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetCredentialsResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialResult.java
index 87795f6..97c39d3 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialsResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialsResult.java
index 5f44ae9..6772f27 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialsResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/GetU2FCredentialsResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionRequest.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionRequest.java
index 7e920d3..39a011e 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionRequest.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionRequest.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionResponse.java
index 82b7ffb..2a65744 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegOptionResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredential.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredential.java
index 6f0d923..0c1d649 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredential.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredential.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredentialResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredentialResult.java
index f570d05..4ec4b5b 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredentialResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/RegisterCredentialResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAPIResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAPIResult.java
index 58de6a6..8761d09 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAPIResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAPIResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthPublicKeyCredential.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthPublicKeyCredential.java
index e59ef11..9edae0b 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthPublicKeyCredential.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthPublicKeyCredential.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAssertionResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAssertionResponse.java
index 383c9d3..6d828ee 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAssertionResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAssertionResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAttestationResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAttestationResponse.java
index 2320f9f..39d78aa 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAttestationResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorAttestationResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorResponse.java
index fe0bcdf..f4953b8 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerAuthenticatorResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialDescriptor.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialDescriptor.java
index f559b45..99d96ce 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialDescriptor.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialDescriptor.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialUserEntity.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialUserEntity.java
index 41825f7..7b4acfc 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialUserEntity.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerPublicKeyCredentialUserEntity.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerRegPublicKeyCredential.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerRegPublicKeyCredential.java
index 7e6a30e..0aa24ea 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerRegPublicKeyCredential.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerRegPublicKeyCredential.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerResponse.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerResponse.java
index 134f729..106fd80 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerResponse.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerResponse.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerU2FUserKey.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerU2FUserKey.java
index 5c4875e..5b2e4d2 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerU2FUserKey.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerU2FUserKey.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerUserKey.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerUserKey.java
index 58e9ca2..d280745 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerUserKey.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/ServerUserKey.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredential.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredential.java
index b40fe13..91e7415 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredential.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredential.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredentialResult.java b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredentialResult.java
index 5b8e3bc..8597183 100644
--- a/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredentialResult.java
+++ b/common/src/main/java/com/linecorp/line/auth/fido/fido2/common/server/VerifyCredentialResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/AuthOptionRequestBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/AuthOptionRequestBeanValidationTest.java
index 46428f2..6e6a288 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/AuthOptionRequestBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/AuthOptionRequestBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.AuthOptionRequest;
@@ -44,4 +60,4 @@ void validateIncompleteRequestWithBlank() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_NOT_BE_BLANK);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/BeanValidationTestSupport.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/BeanValidationTestSupport.java
index 939284e..ca766c9 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/BeanValidationTestSupport.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/BeanValidationTestSupport.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.fasterxml.jackson.databind.ObjectMapper;
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegOptionRequestBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegOptionRequestBeanValidationTest.java
index b872969..0b4d138 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegOptionRequestBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegOptionRequestBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.RegOptionRequest;
@@ -45,4 +61,4 @@ void validateIncompleteRequestWithNull() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_NOT_BE_NULL);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegisterCredentialBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegisterCredentialBeanValidationTest.java
index 69d812c..7e05d02 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegisterCredentialBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/RegisterCredentialBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.RegisterCredential;
@@ -58,4 +74,4 @@ void validateIncompleteRequestWithBlank() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_NOT_BE_BLANK);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthPublicKeyCredentialBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthPublicKeyCredentialBeanValidationTest.java
index d01df14..cd54894 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthPublicKeyCredentialBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthPublicKeyCredentialBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.ServerAuthPublicKeyCredential;
@@ -71,4 +87,4 @@ void validateIncompleteRequestWithInvalidBase64Url() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_BE_A_WELL_FORMED_BASE_64);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAssertionResponseBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAssertionResponseBeanValidationTest.java
index f7926ea..cd53492 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAssertionResponseBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAssertionResponseBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.ServerAuthenticatorAssertionResponse;
@@ -65,4 +81,4 @@ void validateIncompleteRequestWithInvalidBase64Url() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_BE_A_WELL_FORMED_BASE_64);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAttestationResponseBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAttestationResponseBeanValidationTest.java
index 3b90032..b9e3b23 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAttestationResponseBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerAuthenticatorAttestationResponseBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.RegisterCredential;
@@ -63,4 +79,4 @@ void validateIncompleteRequestWithInvalidBase64Url() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_BE_A_WELL_FORMED_BASE_64);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerPublicKeyCredentialUserEntityBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerPublicKeyCredentialUserEntityBeanValidationTest.java
index be8f493..eed1426 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerPublicKeyCredentialUserEntityBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerPublicKeyCredentialUserEntityBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.RegOptionRequest;
@@ -56,4 +72,4 @@ void validateIncompleteRequestWithTooShortId() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(LENGTH_MUST_BE_BETWEEN_1_AND_64);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerRegPublicKeyCredentialBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerRegPublicKeyCredentialBeanValidationTest.java
index b5460bc..ba597cd 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerRegPublicKeyCredentialBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/ServerRegPublicKeyCredentialBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.RegisterCredential;
@@ -46,4 +62,4 @@ void validateIncompleteRequestWithNull() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_NOT_BE_NULL);
}
-}
\ No newline at end of file
+}
diff --git a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/VerifyCredentialBeanValidationTest.java b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/VerifyCredentialBeanValidationTest.java
index 5752bb8..f9d18ee 100644
--- a/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/VerifyCredentialBeanValidationTest.java
+++ b/common/src/test/java/com/linecorp/line/auth/fido/fido2/common/server/bean/validation/VerifyCredentialBeanValidationTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
package com.linecorp.line.auth.fido.fido2.common.server.bean.validation;
import com.linecorp.line.auth.fido.fido2.common.server.VerifyCredential;
@@ -46,4 +62,4 @@ void validateIncompleteRequestWithBlank() {
assertThat(constraintViolations).extracting(ConstraintViolation::getMessage)
.containsOnly(MUST_NOT_BE_BLANK);
}
-}
\ No newline at end of file
+}
diff --git a/docker-compose.yml b/docker-compose.yml
index 98ea5dd..a44a76e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,14 +1,8 @@
version : "3.8"
services:
- build:
- container_name: build-image
- image: build-image:latest
- build:
- context: .
- dockerfile: ./Dockerfile
rp:
container_name: rp-server
- image: rp:latest
+ image: rp-opensource:latest
build:
context: .
dockerfile: ./rpserver/Dockerfile
@@ -16,11 +10,11 @@ services:
- "8080:8080"
restart: always
fido2:
- container_name: fido2-server
- image: fido2:latest
+ container_name: fido2-demo
+ image: fido2-opensource:latest
build:
context: .
- dockerfile: ./server/Dockerfile
+ dockerfile: ./fido2-demo/demo/Dockerfile
ports:
- "8081:8081"
restart: always
diff --git a/server/.gitignore b/fido2-core/.gitignore
similarity index 100%
rename from server/.gitignore
rename to fido2-core/.gitignore
diff --git a/fido2-core/Dockerfile b/fido2-core/Dockerfile
new file mode 100644
index 0000000..8937679
--- /dev/null
+++ b/fido2-core/Dockerfile
@@ -0,0 +1,13 @@
+FROM gradle:6.8.3-jdk11 AS builder
+ENV OPEN_SOURCE_BUILD=true
+
+USER root
+WORKDIR /workspace/app
+COPY . .
+RUN ./server/gradlew dockerBuild
+
+FROM openjdk:11-jre-slim-buster
+EXPOSE 8081
+COPY --from=builder /workspace/app/server/build/libs/server*.jar server.jar
+
+ENTRYPOINT ["java","-jar","-Dspring.profiles.active=local","/server.jar"]
diff --git a/fido2-core/build.gradle b/fido2-core/build.gradle
new file mode 100644
index 0000000..71c63b6
--- /dev/null
+++ b/fido2-core/build.gradle
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+plugins {
+ id 'java-library'
+ id 'org.springframework.boot'
+ id 'io.spring.dependency-management'
+}
+
+jar.enabled = true
+bootJar.enabled = false
+
+dependencies {
+ implementation project(':common')
+
+ implementation('org.springframework.boot:spring-boot-starter-data-jpa')
+ implementation('org.springframework.boot:spring-boot-starter-web')
+ implementation('com.fasterxml.jackson.dataformat:jackson-dataformat-cbor')
+
+ implementation('org.springframework.boot:spring-boot-starter-logging')
+ implementation('org.springframework.boot:spring-boot-starter-validation')
+ implementation("org.springframework.boot:spring-boot-starter-cache")
+
+ //jwt
+ implementation('com.auth0:java-jwt:3.4.0')
+
+ //bouncy castle
+ implementation('org.bouncycastle:bcprov-jdk15on:1.60')
+
+ //eddsa library
+ implementation('net.i2p.crypto:eddsa:0.3.0')
+
+ //retrofit
+ implementation('com.squareup.retrofit2:retrofit:2.4.0')
+ implementation('com.squareup.retrofit2:converter-jackson:2.4.0')
+
+ compileOnly('org.projectlombok:lombok')
+ annotationProcessor 'org.projectlombok:lombok'
+
+ implementation 'commons-codec:commons-codec:1.15'
+
+ //cache
+ implementation("com.github.ben-manes.caffeine:caffeine")
+
+}
diff --git a/server/gradle/wrapper/gradle-wrapper.jar b/fido2-core/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from server/gradle/wrapper/gradle-wrapper.jar
rename to fido2-core/gradle/wrapper/gradle-wrapper.jar
diff --git a/server/gradle/wrapper/gradle-wrapper.properties b/fido2-core/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from server/gradle/wrapper/gradle-wrapper.properties
rename to fido2-core/gradle/wrapper/gradle-wrapper.properties
diff --git a/server/gradlew b/fido2-core/gradlew
similarity index 100%
rename from server/gradlew
rename to fido2-core/gradlew
diff --git a/server/gradlew.bat b/fido2-core/gradlew.bat
similarity index 100%
rename from server/gradlew.bat
rename to fido2-core/gradlew.bat
diff --git a/server/src/docs/asciidoc/api-guide.adoc b/fido2-core/src/docs/asciidoc/api-guide.adoc
similarity index 100%
rename from server/src/docs/asciidoc/api-guide.adoc
rename to fido2-core/src/docs/asciidoc/api-guide.adoc
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java
similarity index 86%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java
index f352301..c6cacb6 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/ServerConstant.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java
similarity index 91%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java
index 65b7620..cc7ad55 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerificationResult.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java
similarity index 90%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java
index 7b57764..b72bc39 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java
similarity index 93%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java
index 12e2b9a..daf35e5 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/AttestationVerifierFactory.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java
similarity index 50%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java
index 1b185f0..9663ba2 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AdditionalRevokeChecker.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -16,38 +16,35 @@
package com.linecorp.line.auth.fido.fido2.server.attestation.android.keyattestation;
-import com.fasterxml.jackson.databind.JsonNode;
-import com.fasterxml.jackson.databind.ObjectMapper;
import com.linecorp.line.auth.fido.fido2.server.error.InternalErrorCode;
import com.linecorp.line.auth.fido.fido2.server.exception.FIDO2ServerRuntimeException;
-import okhttp3.ResponseBody;
import retrofit2.Response;
-import java.io.IOException;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.List;
public class AdditionalRevokeChecker {
- public static boolean hasAndroidKeyAttestationRevokedCert(RevokeCheckerClient client, List trustPath) throws IOException {
- Response bodyResponse = client.fetchAndroidKeyAttestationRevokeList("attestation/status");
+ public static void checkAndroidKeyAttestationRevokedCert(RevokeCheckerClient client, List trustPath) {
+ if (trustPath == null || trustPath.isEmpty()) {
+ throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED, "Trust path is null or empty.");
+ }
- if (bodyResponse.isSuccessful()) {
- ObjectMapper objectMapper = new ObjectMapper();
- JsonNode node;
- if (bodyResponse.body() != null) {
- node = objectMapper.readTree(bodyResponse.body().string()).get("entries");
- } else {
- throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED);
- }
- return trustPath.stream().anyMatch(certificate -> {
- X509Certificate cert = (X509Certificate) certificate;
- String serialNum = cert.getSerialNumber().toString(16).toLowerCase();
- return node.has(serialNum);
- });
- } else {
- throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED);
+ Response response = client.fetchAndroidKeyAttestationRevokeList("attestation/status");
+
+ if (!response.isSuccessful() || response.body() == null || response.body().getEntries() == null) {
+ throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED, "Failed to fetch revoke list or revoked entries is null.");
}
+
+ RevokedEntries revokedEntries = response.body();
+
+ trustPath.forEach(certificate -> {
+ X509Certificate cert = (X509Certificate) certificate;
+ String serialNum = cert.getSerialNumber().toString(16).toLowerCase();
+ if (revokedEntries.getEntries().containsKey(serialNum)) {
+ throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED, "Certificate is revoked: " + serialNum);
+ }
+ });
}
}
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java
similarity index 89%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java
index fb2f5d7..1443649 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java
similarity index 99%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java
index d1acaa4..d0a19e7 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AndroidKeyAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java
similarity index 96%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java
index 3321280..dca7c21 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationList.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java
similarity index 94%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java
index 2a45a36..155b4a0 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/AuthorizationListTags.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java
similarity index 90%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java
index b5f4fd5..2174e11 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescription.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java
similarity index 90%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java
index ec93278..17329ac 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/KeyDescriptionIndex.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java
similarity index 63%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java
index 2f295f2..b29634d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerClient.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -16,7 +16,8 @@
package com.linecorp.line.auth.fido.fido2.server.attestation.android.keyattestation;
-import okhttp3.ResponseBody;
+import com.linecorp.line.auth.fido.fido2.server.error.InternalErrorCode;
+import com.linecorp.line.auth.fido.fido2.server.exception.FIDO2ServerRuntimeException;
import org.springframework.cache.annotation.Cacheable;
import retrofit2.Response;
import retrofit2.Retrofit;
@@ -26,13 +27,17 @@
public class RevokeCheckerClient {
@Cacheable("androidKeyAttestationRevokeList")
- public Response fetchAndroidKeyAttestationRevokeList(String url) throws IOException {
+ public Response fetchAndroidKeyAttestationRevokeList(String url) {
Retrofit retrofit = new Retrofit
.Builder()
.baseUrl("https://android.googleapis.com/")
.addConverterFactory(JacksonConverterFactory.create())
.build();
- return retrofit.create(RevokeCheckerService.class).fetchRevokeList(url).execute();
+ try {
+ return retrofit.create(RevokeCheckerService.class).fetchRevokeList(url).execute();
+ } catch (IOException e) {
+ throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_KEY_ATTESTATION_CERTIFICATE_REVOKED_CHECK_FAILED, "Failed to fetch revoke list.");
+ }
}
}
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java
similarity index 79%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java
index dd7c9ec..e64f3d8 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokeCheckerService.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -16,13 +16,12 @@
package com.linecorp.line.auth.fido.fido2.server.attestation.android.keyattestation;
-import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Url;
public interface RevokeCheckerService {
@GET
- Call fetchRevokeList(@Url String url);
+ Call fetchRevokeList(@Url String url);
}
diff --git a/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokedEntries.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokedEntries.java
new file mode 100644
index 0000000..b0ebe27
--- /dev/null
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RevokedEntries.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package com.linecorp.line.auth.fido.fido2.server.attestation.android.keyattestation;
+
+import lombok.Data;
+
+import java.util.Map;
+
+@Data
+public class RevokedEntries {
+
+ private Map entries;
+
+ @Data
+ public static class Entry {
+
+ private String status;
+
+ private String reason;
+ }
+}
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java
index 015d17d..49d91d7 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/RootOfTrust.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java
similarity index 86%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java
index 86d8889..36ec904 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/SecurityLevel.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -19,7 +19,7 @@
import java.util.Arrays;
public enum SecurityLevel {
- SOFTWARE(0), TRUSTED_ENVIRONMENT(1);
+ SOFTWARE(0), TRUSTED_ENVIRONMENT(1), STRONGBOX(2);
private final int value;
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java
similarity index 91%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java
index 42dd759..f79aaf7 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/keyattestation/VerifiedBootState.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java
index d82a8a0..887995e 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java
similarity index 98%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java
index d03eb27..d32e86c 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java
similarity index 91%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java
index fe1624a..cd603cb 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AttestationStatementInfo.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java
index 9236cb4..42c8531 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
@@ -24,4 +24,4 @@
@Data
public class AppleAnonymousAttestationStatement extends AttestationStatement {
List x5c;
-}
\ No newline at end of file
+}
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java
similarity index 98%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java
index cfdbb2d..849a9db 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/apple/AppleAnonymousAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java
similarity index 87%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java
index 2d534b4..8af9fed 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationStatementFormat.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java
similarity index 94%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java
index b032490..463d82d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/none/NoneAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java
similarity index 89%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java
index 156be64..c114b67 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java
similarity index 99%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java
index 0cf8af6..7a22a1d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/packed/PackedAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java
similarity index 87%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java
index e40aaa9..74f3ec7 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/AttestedName.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java
similarity index 89%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java
index c037fa8..160973f 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/CertInfo.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java
index a846a1c..50b8742 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ClockInfo.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java
similarity index 87%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java
index 6856f5c..b469bc3 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/EccParameters.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java
similarity index 90%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java
index 34ea2c6..5f16ba5 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/ObjectAttributes.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java
similarity index 87%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java
index 9816550..e3b292d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/Parameters.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java
index c9a4d4e..4fd385c 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/PubArea.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java
similarity index 86%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java
index 76cd961..7b7b8ee 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/RsaParameters.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java
similarity index 90%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java
index 30fd9e0..209790d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java
similarity index 99%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java
index 8fec149..3c04125 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java
similarity index 94%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java
index c74e04b..1c051a3 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmCapVendorId.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java
similarity index 91%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java
index 3c17c2e..6eb9c03 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmEccCurve.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java
similarity index 93%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java
index b09dfeb..8635197 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmHashAlgorithm.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java
similarity index 92%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java
index ba1e64f..6b3eaa4 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmKeyAlgorithm.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java
similarity index 95%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java
index 00ee6f7..d818c75 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmObjectAttributeParser.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java
similarity index 99%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java
index 74e2210..9684376 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmParser.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java
similarity index 91%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java
index 2d6bd27..a7549d4 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSignatureAlgorithm.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java
similarity index 92%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java
index 04711f5..887c64d 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSt.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java
index ae4e058..180bde2 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/tpm/TpmSubjectAlternativeName.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java
similarity index 88%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java
index 813241f..f779313 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationStatement.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java
similarity index 98%
rename from server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java
rename to fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java
index f4e38ec..b397449 100644
--- a/server/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/u2f/FidoU2fAttestationVerifier.java
@@ -1,7 +1,7 @@
/*
- * Copyright 2021 LINE Corporation
+ * Copyright 2024 LY Corporation
*
- * LINE Corporation licenses this file to you under the Apache License,
+ * LY Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
diff --git a/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/config/CacheConfiguration.java b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/config/CacheConfiguration.java
new file mode 100644
index 0000000..fdacd43
--- /dev/null
+++ b/fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/config/CacheConfiguration.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2024 LY Corporation
+ *
+ * LY Corporation licenses this file to you under the Apache License,
+ * version 2.0 (the "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at:
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package com.linecorp.line.auth.fido.fido2.server.config;
+
+import com.github.benmanes.caffeine.cache.Caffeine;
+import org.springframework.cache.CacheManager;
+import org.springframework.cache.annotation.EnableCaching;
+import org.springframework.cache.caffeine.CaffeineCacheManager;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+import java.util.concurrent.TimeUnit;
+
+@Configuration
+@EnableCaching
+public class CacheConfiguration {
+
+ @Bean
+ public CacheManager cacheManager() {
+ CaffeineCacheManager cacheManager = new CaffeineCacheManager("androidKeyAttestationRevokeList");
+ cacheManager.setCaffeine(caffeineCacheBuilder());
+ return cacheManager;
+ }
+
+ Caffeine