Package org.webpki.webauth
Class AuthenticationResponseEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.webauth.AuthenticationResponseEncoder
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationResponseEncoder(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 voidINTERNAL 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:JSONEncoderINTERNAL USE ONLY.- Specified by:
writeJSONDatain classJSONEncoder- Parameters:
wr- A JSON writer
-
getContext
Description copied from class:JSONEncoderEmulation of XML namespace- Specified by:
getContextin classJSONEncoder- Returns:
- The context name
-
getQualifier
Description copied from class:JSONEncoderOptional type indicator for JSON objects belonging to the same@context.- Overrides:
getQualifierin classJSONEncoder- Returns:
- The qualifier name
-