Package org.webpki.keygen2
Class ProvisioningInitializationRequestEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.keygen2.ProvisioningInitializationRequestEncoder
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
-
Constructor Summary
ConstructorDescriptionProvisioningInitializationRequestEncoder
(ServerState serverState, short sessionLifeTime, short sessionKeyLimit) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Emulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context
.setKeyManagementKey
(PublicKey keyManagementKey) void
setSessionKeyAlgorithm
(String sessionKeyAlgorithm) protected final void
INTERNAL USE ONLY.Methods inherited from class org.webpki.json.JSONEncoder
serializeJSONDocument
-
Constructor Details
-
ProvisioningInitializationRequestEncoder
public ProvisioningInitializationRequestEncoder(ServerState serverState, short sessionLifeTime, short sessionKeyLimit)
-
-
Method Details
-
setKeyManagementKey
public ProvisioningInitializationRequestEncoder.KeyManagementKeyUpdateHolder setKeyManagementKey(PublicKey keyManagementKey) -
setSessionKeyAlgorithm
-
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
-