Class CborConverter

java.lang.Object
com.webauthn4j.converter.util.CborConverter

public class CborConverter extends Object
A utility class for CBOR serialization/deserialization
  • Method Details

    • registerModule

      public void registerModule(com.fasterxml.jackson.databind.Module module)
    • readValue

      @Nullable public <T> T readValue(@NotNull @org.jetbrains.annotations.NotNull byte[] src, @NotNull @NotNull Class<T> valueType)
    • readValue

      @Nullable public <T> T readValue(@NotNull @NotNull InputStream src, @NotNull @NotNull Class<T> valueType)
    • readValue

      @Nullable public <T> T readValue(@NotNull @org.jetbrains.annotations.NotNull byte[] src, @NotNull @NotNull com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef)
    • readValue

      @Nullable public <T> T readValue(@NotNull @NotNull InputStream src, @NotNull @NotNull com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef)
    • readTree

      @NotNull public @NotNull com.fasterxml.jackson.databind.JsonNode readTree(@NotNull @org.jetbrains.annotations.NotNull byte[] bytes)
    • writeValueAsBytes

      @NotNull public @org.jetbrains.annotations.NotNull byte[] writeValueAsBytes(@Nullable @Nullable Object value)