@@ -89,9 +89,9 @@ public class RegistrationResult {
89
89
private final boolean attestationTrusted ;
90
90
91
91
/**
92
- * The attestation type <a
93
- * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-attestation-types">§6.4.3.
94
- * Attestation Types </a> that was used for the created credential.
92
+ * The <a
93
+ * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-attestation-types">attestation
94
+ * type </a> that was used for the created credential.
95
95
*
96
96
* <p>You can ignore this if authenticator attestation is not relevant to your application.
97
97
*
@@ -101,21 +101,7 @@ public class RegistrationResult {
101
101
*/
102
102
@ NonNull private final AttestationType attestationType ;
103
103
104
- /**
105
- * The <a
106
- * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#attestation-trust-path">attestation
107
- * trust path</a> for the created credential, if any.
108
- *
109
- * <p>If present, this may be useful for looking up attestation metadata from external sources.
110
- * The attestation trust path has been successfully verified as trusted if and only if {@link
111
- * #isAttestationTrusted()} is <code>true</code>.
112
- *
113
- * <p>You can ignore this if authenticator attestation is not relevant to your application.
114
- *
115
- * @see <a
116
- * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#attestation-trust-path">Attestation
117
- * trust path</a>
118
- */
104
+ // JavaDoc on getter
119
105
private final List <X509Certificate > attestationTrustPath ;
120
106
121
107
/**
@@ -200,6 +186,21 @@ private static RegistrationResult fromJson(
200
186
authenticatorExtensionOutputs );
201
187
}
202
188
189
+ /**
190
+ * The <a
191
+ * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#attestation-trust-path">attestation
192
+ * trust path</a> for the created credential, if any.
193
+ *
194
+ * <p>If present, this may be useful for looking up attestation metadata from external sources.
195
+ * The attestation trust path has been successfully verified as trusted if and only if {@link
196
+ * #isAttestationTrusted()} is <code>true</code>.
197
+ *
198
+ * <p>You can ignore this if authenticator attestation is not relevant to your application.
199
+ *
200
+ * @see <a
201
+ * href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#attestation-trust-path">Attestation
202
+ * trust path</a>
203
+ */
203
204
@ JsonIgnore
204
205
public Optional <List <X509Certificate >> getAttestationTrustPath () {
205
206
return Optional .ofNullable (attestationTrustPath );
0 commit comments