public interface JOSEObjectHandler<T>
JOSEObjects. Invoked by the
JOSEObject.parse(String,JOSEObjectHandler) method
to indicate the exact type of the parsed object - plain,
signed or encrypted object.| Modifier and Type | Method and Description |
|---|---|
T |
onJWEObject(JWEObject jweObject)
Invoked when the parsed JOSE object is a JWE object.
|
T |
onJWSObject(JWSObject jwsObject)
Invoked when the the parsed JOSE object is a JWS object.
|
T |
onPlainObject(PlainObject plainObject)
Invoked when the parsed JOSE object is plain (unsecured).
|
T onPlainObject(PlainObject plainObject)
plainObject - The parsed plain JOSE object. Not null.null if no return value is necessary.T onJWSObject(JWSObject jwsObject)
jwsObject - The parsed JWS object. Not null.null if no return value is necessary.T onJWEObject(JWEObject jweObject)
jweObject - The parsed JWE object. Not null.null if no return value is necessary.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.