java.lang.Object
com.webauthn4j.anchor.KeyStoreTrustAnchorRepository
- All Implemented Interfaces:
TrustAnchorRepository
Load
TrustAnchors from KeyStore. Loaded trust anchors are cached.-
Constructor Summary
ConstructorsConstructorDescriptionKeyStoreTrustAnchorRepository(Path keyStore, String password) Deprecated, for removal: This API element is subject to removal in a future version.use KeyStoreTrustAnchorRepository.createFromKeyStoreFilePath(Path, String) insteadKeyStoreTrustAnchorRepository(KeyStore keyStore) -
Method Summary
Modifier and TypeMethodDescriptioncreateFromKeyStoreFilePath(Path keyStore, String password) find(byte[] attestationCertificateKeyIdentifier) Look upTrustAnchor(s) by attestationCertificateKeyIdentifier.Look upTrustAnchor(s) byAAGUID
-
Constructor Details
-
KeyStoreTrustAnchorRepository
-
KeyStoreTrustAnchorRepository
Deprecated, for removal: This API element is subject to removal in a future version.use KeyStoreTrustAnchorRepository.createFromKeyStoreFilePath(Path, String) instead
-
-
Method Details
-
createFromKeyStoreFilePath
public static KeyStoreTrustAnchorRepository createFromKeyStoreFilePath(Path keyStore, String password) -
find
Description copied from interface:TrustAnchorRepositoryLook upTrustAnchor(s) byAAGUID- Specified by:
findin interfaceTrustAnchorRepository- Parameters:
aaguid-AAGUIDfor the authenticator- Returns:
Set<TrustAnchor>
-
find
Description copied from interface:TrustAnchorRepositoryLook upTrustAnchor(s) by attestationCertificateKeyIdentifier. This is used for FIDO-U2F authenticator- Specified by:
findin interfaceTrustAnchorRepository- Parameters:
attestationCertificateKeyIdentifier- attestationCertificateKeyIdentifier for the authenticator- Returns:
Set<TrustAnchor>
-