public abstract class BaseJWSProvider extends Object implements JWSProvider
Constructor and Description |
---|
BaseJWSProvider(Set<JWSAlgorithm> algs)
Creates a new base JWS provider.
|
Modifier and Type | Method and Description |
---|---|
JCAContext |
getJCAContext()
Returns the Java Cryptography Architecture (JCA) context.
|
Set<JWSAlgorithm> |
supportedJWSAlgorithms()
Returns the names of the supported algorithms by the JWS provider
instance.
|
public BaseJWSProvider(Set<JWSAlgorithm> algs)
algs
- The supported algorithms by the JWS provider instance.
Must not be null
.public Set<JWSAlgorithm> supportedJWSAlgorithms()
JWSProvider
alg
JWS header parameter.supportedJWSAlgorithms
in interface JWSProvider
public JCAContext getJCAContext()
JCAAware
getJCAContext
in interface JCAAware<JCAContext>
null
.Copyright © 2021 Connect2id Ltd.. All rights reserved.