public class JwtX509StringConverter extends Object implements Converter<X509Certificate,CharSequence>
| Modifier and Type | Field and Description |
|---|---|
static JwtX509StringConverter |
INSTANCE |
| Constructor and Description |
|---|
JwtX509StringConverter() |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
applyFrom(CharSequence s)
Converts the specified canonical (RFC-compliant data type) value to the preferred Java idiomatic type.
|
String |
applyTo(X509Certificate cert)
Converts the specified (Java idiomatic type) value to the canonical RFC-required data type.
|
protected X509Certificate |
toCert(byte[] der) |
public static final JwtX509StringConverter INSTANCE
public String applyTo(X509Certificate cert)
ConverterapplyTo in interface Converter<X509Certificate,CharSequence>cert - the preferred idiomatic valueprotected X509Certificate toCert(byte[] der) throws SecurityException
SecurityExceptionpublic X509Certificate applyFrom(CharSequence s)
ConverterapplyFrom in interface Converter<X509Certificate,CharSequence>s - the canonical value to convertCopyright © 2014–2024 jsonwebtoken.io. All rights reserved.