public class AlgorithmSupportMessage extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
unsupportedEllipticCurve(Curve unsupported,
Collection<Curve> supported)
Returns a message that the specified elliptic curve is not
supported.
|
static String |
unsupportedEncryptionMethod(EncryptionMethod unsupported,
Collection<EncryptionMethod> supported)
Returns a message that the specified JWE encryption method is not
supported.
|
static String |
unsupportedJWEAlgorithm(JWEAlgorithm unsupported,
Collection<JWEAlgorithm> supported)
Returns a message that the specified JWE algorithm is not supported.
|
static String |
unsupportedJWSAlgorithm(JWSAlgorithm unsupported,
Collection<JWSAlgorithm> supported)
Returns a message that the specified JWS algorithm is not supported.
|
public static String unsupportedJWSAlgorithm(JWSAlgorithm unsupported, Collection<JWSAlgorithm> supported)
unsupported - The unsupported JWS algorithm. Must not be
null.supported - The supported JWS algorithms. Must not be
null.public static String unsupportedJWEAlgorithm(JWEAlgorithm unsupported, Collection<JWEAlgorithm> supported)
unsupported - The unsupported JWE algorithm. Must not be
null.supported - The supported JWE algorithms. Must not be
null.public static String unsupportedEncryptionMethod(EncryptionMethod unsupported, Collection<EncryptionMethod> supported)
unsupported - The unsupported JWE encryption method. Must not
be null.supported - The supported JWE encryption methods. Must not be
null.public static String unsupportedEllipticCurve(Curve unsupported, Collection<Curve> supported)
unsupported - The unsupported elliptic curve. Must not be
null.supported - The supported elliptic curves. Must not be
null.Copyright © 2019 Connect2id Ltd.. All rights reserved.