Package com.yubico.fido.metadata
Class CodeAccuracyDescriptor
- java.lang.Object
-
- com.yubico.fido.metadata.CodeAccuracyDescriptor
-
public final class CodeAccuracyDescriptor extends java.lang.Object
The CodeAccuracyDescriptor describes the relevant accuracy/complexity aspects of passcode user verification methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CodeAccuracyDescriptor.CodeAccuracyDescriptorBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeAccuracyDescriptor.CodeAccuracyDescriptorBuilder
builder()
boolean
equals(java.lang.Object o)
int
getBase()
java.util.Optional<java.lang.Integer>
getBlockSlowdown()
java.util.Optional<java.lang.Integer>
getMaxRetries()
int
getMinLength()
int
hashCode()
CodeAccuracyDescriptor.CodeAccuracyDescriptorBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getMaxRetries
public java.util.Optional<java.lang.Integer> getMaxRetries()
-
getBlockSlowdown
public java.util.Optional<java.lang.Integer> getBlockSlowdown()
-
builder
public static CodeAccuracyDescriptor.CodeAccuracyDescriptorBuilder builder()
-
toBuilder
public CodeAccuracyDescriptor.CodeAccuracyDescriptorBuilder toBuilder()
-
getBase
public int getBase()
-
getMinLength
public int getMinLength()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-