public abstract class BaseJOSEProcessor<C extends SecurityContext> extends Object
JOSEObject
s.
Provides getters and setters for JWS / JWE key selectors and JWS verifier /
JWE decrypter factories.Constructor and Description |
---|
BaseJOSEProcessor() |
Modifier and Type | Method and Description |
---|---|
JWEDecrypterFactory |
getJWEDecrypterFactory()
Gets the factory for creating JWE decrypter instances.
|
JWEKeySelector<C> |
getJWEKeySelector()
Gets the JWE key selector.
|
JWSKeySelector<C> |
getJWSKeySelector()
Gets the JWS key selector.
|
JWSVerifierFactory |
getJWSVerifierFactory()
Gets the factory for creating JWS verifier instances.
|
void |
setJWEDecrypterFactory(JWEDecrypterFactory factory)
Sets the factory for creating JWE decrypter instances.
|
void |
setJWEKeySelector(JWEKeySelector<C> jweKeySelector)
Sets the JWE key selector.
|
void |
setJWSKeySelector(JWSKeySelector<C> jwsKeySelector)
Sets the JWS key selector.
|
void |
setJWSVerifierFactory(JWSVerifierFactory factory)
Sets the factory for creating JWS verifier instances.
|
public BaseJOSEProcessor()
public JWSKeySelector<C> getJWSKeySelector()
null
if not specified.public void setJWSKeySelector(JWSKeySelector<C> jwsKeySelector)
jwsKeySelector
- The JWS key selector, null
if not
specified.public JWEKeySelector<C> getJWEKeySelector()
null
if not specified.public void setJWEKeySelector(JWEKeySelector<C> jweKeySelector)
jweKeySelector
- The JWE key selector, null
if not
specified.public JWSVerifierFactory getJWSVerifierFactory()
null
if not specified.public void setJWSVerifierFactory(JWSVerifierFactory factory)
factory
- The JWS verifier factory, null
if not
specified.public JWEDecrypterFactory getJWEDecrypterFactory()
null
if not specified.public void setJWEDecrypterFactory(JWEDecrypterFactory factory)
factory
- The JWE decrypter factory, null
if not
specified.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.