java.lang.Object
com.webauthn4j.util.CertificateUtil
A Utility class for certificate manipulation
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull CertificateFactorystatic @NotNull CertPathValidatorstatic @NotNull KeyStorestatic @NotNull PKIXParameterscreatePKIXParameters(@NotNull Set<TrustAnchor> trustAnchors) static <C extends Certificate>
@NotNull CertPathgenerateCertPath(@NotNull List<C> certificates) static <C extends X509Certificate>
@NotNull Set<TrustAnchor>generateTrustAnchors(@NotNull List<C> certificates) static @NotNull X509CertificategenerateX509Certificate(@org.jetbrains.annotations.NotNull byte[] bytes) static @NotNull X509CertificategenerateX509Certificate(@NotNull InputStream inputStream)
-
Method Details
-
createCertPathValidator
-
createPKIXParameters
@NotNull public static @NotNull PKIXParameters createPKIXParameters(@NotNull @NotNull Set<TrustAnchor> trustAnchors) -
createKeyStore
-
createCertificateFactory
-
generateTrustAnchors
@NotNull public static <C extends X509Certificate> @NotNull Set<TrustAnchor> generateTrustAnchors(@NotNull @NotNull List<C> certificates) -
generateCertPath
@NotNull public static <C extends Certificate> @NotNull CertPath generateCertPath(@NotNull @NotNull List<C> certificates) -
generateX509Certificate
@NotNull public static @NotNull X509Certificate generateX509Certificate(@NotNull @org.jetbrains.annotations.NotNull byte[] bytes) -
generateX509Certificate
@NotNull public static @NotNull X509Certificate generateX509Certificate(@NotNull @NotNull InputStream inputStream)
-