Class TotpRecoveryContext
java.lang.Object
com.revetsec.totp.TotpRecoveryContext
The exact immutable scope and sealing configuration requesting recovery admission.
Core constructs this context from its actual operation configuration.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe explicitly authorized recovery admission purpose. -
Method Summary
Modifier and TypeMethodDescriptionReturns the key ID actually used for new records.Returns the configured credential namespace.Returns the immutable active and retained opening key IDs.Returns the requested admission purpose.Returns the externally controlled recovery epoch.toString()Redacts the scope and key configuration.
-
Method Details
-
getCredentialNamespace
Returns the configured credential namespace.- Returns:
- the namespace
- Since:
- 1.0.0
-
getRecoveryEpoch
Returns the externally controlled recovery epoch.- Returns:
- the epoch
- Since:
- 1.0.0
-
getActiveSealingKeyId
Returns the key ID actually used for new records.- Returns:
- the active sealing key ID
- Since:
- 1.0.0
-
getOpeningSealingKeyIds
Returns the immutable active and retained opening key IDs.- Returns:
- every configured opening key ID, including the active key
- Since:
- 1.0.0
-
getPurpose
Returns the requested admission purpose.- Returns:
- initialization or ordinary operation
- Since:
- 1.0.0
-
toString
-