Package org.webpki.webauth
Class AuthenticationResponseEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.webauth.AuthenticationResponseEncoder
-
Constructor Summary
ConstructorDescriptionAuthenticationResponseEncoder
(JSONX509Signer signer, AuthenticationRequestDecoder auth_req_decoder, GregorianCalendar clientTime, X509Certificate server_certificate) -
Method Summary
Modifier and TypeMethodDescriptionaddClientFeature
(String type, String value) Emulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context
.protected void
INTERNAL USE ONLY.Methods inherited from class org.webpki.json.JSONEncoder
serializeJSONDocument
-
Constructor Details
-
AuthenticationResponseEncoder
public AuthenticationResponseEncoder(JSONX509Signer signer, AuthenticationRequestDecoder auth_req_decoder, GregorianCalendar clientTime, X509Certificate server_certificate)
-
-
Method Details
-
addClientFeature
-
writeJSONData
Description copied from class:JSONEncoder
INTERNAL USE ONLY.- Specified by:
writeJSONData
in classJSONEncoder
- Parameters:
wr
- A JSON writer
-
getContext
Description copied from class:JSONEncoder
Emulation of XML namespace- Specified by:
getContext
in classJSONEncoder
- Returns:
- The context name
-
getQualifier
Description copied from class:JSONEncoder
Optional type indicator for JSON objects belonging to the same@context
.- Overrides:
getQualifier
in classJSONEncoder
- Returns:
- The qualifier name
-