2
0

Make default counter algorithm-scoped, format-specific unmarshalling.

This commit is contained in:
Maarten Billemont
2018-04-26 12:45:29 -04:00
parent 71f1b3c130
commit 11185725d1
15 changed files with 133 additions and 42 deletions

View File

@@ -34,10 +34,15 @@ import javax.annotation.Nullable;
public interface MPAlgorithm {
/**
* mpw: defaults: Password result type.
* mpw: defaults: password result type.
*/
MPResultType mpw_default_type = MPResultType.GeneratedLong;
/**
* mpw: defaults: initial counter value.
*/
UnsignedInteger mpw_default_counter = UnsignedInteger.ONE;
/**
* mpw: validity for the time-based rolling counter.
*/