Package org.webpki.webauth
Class AuthenticationRequestEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.webauth.AuthenticationRequestEncoder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCertificateFilter
(CertificateFilter certificateFilter) addSignatureAlgorithm
(AsymSignatureAlgorithms algorithm) void
checkRequestResponseIntegrity
(AuthenticationResponseDecoder authenticationResponse, byte[] expectedServerCertificateFingerprint) final String
Emulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context
.requestClientFeature
(String featureUri) setExtendedCertPath
(boolean extendedCertPath) setPreferredLanguages
(String[] languageList) void
setRequestSigner
(X509SignerInterface signer) setTargetKeyContainerList
(KeyContainerTypes[] optionalListOfGrantedTypes) protected final void
INTERNAL USE ONLY.Methods inherited from class org.webpki.json.JSONEncoder
serializeJSONDocument
-
Constructor Details
-
AuthenticationRequestEncoder
public AuthenticationRequestEncoder()
-
-
Method Details
-
addSignatureAlgorithm
-
addCertificateFilter
-
setExtendedCertPath
-
setTargetKeyContainerList
public AuthenticationRequestEncoder setTargetKeyContainerList(KeyContainerTypes[] optionalListOfGrantedTypes) -
setID
-
setPreferredLanguages
-
requestClientFeature
-
checkRequestResponseIntegrity
public void checkRequestResponseIntegrity(AuthenticationResponseDecoder authenticationResponse, byte[] expectedServerCertificateFingerprint) -
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
-
getContext
Description copied from class:JSONEncoder
Emulation of XML namespace- Specified by:
getContext
in classJSONEncoder
- Returns:
- The context name
-
writeJSONData
Description copied from class:JSONEncoder
INTERNAL USE ONLY.- Specified by:
writeJSONData
in classJSONEncoder
- Parameters:
wr
- A JSON writer
-
setRequestSigner
-