Skip to content

Commit 4e4a920

Browse files
committed
feat: support smart-card attachment hint
1 parent f1999a7 commit 4e4a920

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

webauthn-server-attestation/src/main/java/com/yubico/fido/metadata/AttachmentHint.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,18 @@ public enum AttachmentHint {
129129
* href="https://fidoalliance.org/specs/common-specs/fido-registry-v2.2-rd-20210525.html#authenticator-attachment-hints">FIDO
130130
* Registry of Predefined Values §3.4 Authenticator Attachment Hints</a>
131131
*/
132-
ATTACHMENT_HINT_WIFI_DIRECT(0x0100, "wifi_direct");
132+
ATTACHMENT_HINT_WIFI_DIRECT(0x0100, "wifi_direct"),
133+
134+
/**
135+
* This flag MAY be set to indicate that an external authenticator is able to communicate
136+
* by ISO7816 messages with the FIDO User Device. As part of authenticator metadata,
137+
* or when reporting characteristics through discovery, if this flag is set, the {@link #ATTACHMENT_HINT_WIRED}
138+
* flag SHOULD also be set.
139+
* @see <a
140+
* href="https://fidoalliance.org/specs/common-specs/fido-registry-v2.3-rd-20260105.html#authenticator-attachment-hints">FIDO
141+
* Registry of Predefined Values §3.4 Authenticator Attachment Hints</a>
142+
*/
143+
ATTACHMENT_HINT_SMART_CARD(0x0200, "smart-card");
133144

134145
private final int value;
135146

0 commit comments

Comments
 (0)