Class WebAuthnSupport
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.impl.WebAuthnSupport
Helper methods for WebAuthn.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoBase64OrUnknown(byte[] value) Convert the value to a Base64 encoded string.static StringtoBase64UrlOrUnknown(byte[] value) Convert the value to a Base64 URL encoded string.
-
Constructor Details
-
WebAuthnSupport
private WebAuthnSupport()Private constructor.
-
-
Method Details
-
toBase64UrlOrUnknown
Convert the value to a Base64 URL encoded string. Return "unknown" if there is an error.- Parameters:
value- the value to Base64 URL encode- Returns:
- the Bas64 URL encoded string or "unknown".
-
toBase64OrUnknown
Convert the value to a Base64 encoded string. Return "unknown" if there is an error.- Parameters:
value- the value to Base64 URL encode- Returns:
- the Bas64 URL encoded string or "unknown".
-