Package com.yubico.webauthn.data
Class Extensions.Prf.PrfAuthenticationInput
java.lang.Object
com.yubico.webauthn.data.Extensions.Prf.PrfAuthenticationInput
- Enclosing class:
 - Extensions.Prf
 
Inputs for the Pseudo-random function extension (
prf) in authentication
 ceremonies.- Since:
 - 2.7.0
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleaneval(@NonNull Extensions.Prf.PrfValues eval) Use the same PRF inputs for all credentials.evalByCredential(@NonNull Map<PublicKeyCredentialDescriptor, Extensions.Prf.PrfValues> evalByCredential) Use different PRF inputs for different credentials, and skip PRF evaluation for any credentials not present in the map.evalByCredentialWithFallback(@NonNull Map<PublicKeyCredentialDescriptor, Extensions.Prf.PrfValues> evalByCredential, @NonNull Extensions.Prf.PrfValues eval) Use different PRF inputs for different credentials, and "fallback" inputs for any credentials not present in the map.getEval()PRF inputs to use for any credential without a dedicated input listed ingetEvalByCredential().A map of credential IDs to PRF inputs to use for that credential.inthashCode()toString() 
- 
Method Details
- 
getEval
PRF inputs to use for any credential without a dedicated input listed ingetEvalByCredential(). - 
getEvalByCredential
A map of credential IDs to PRF inputs to use for that credential. Credentials without a mapping here fall back to the inputs ingetEval()if present, otherwise no PRF is evaluated for those credentials. - 
eval
public static Extensions.Prf.PrfAuthenticationInput eval(@NonNull @NonNull Extensions.Prf.PrfValues eval) Use the same PRF inputs for all credentials.- Since:
 - 2.7.0
 - See Also:
 
 - 
evalByCredential
public static Extensions.Prf.PrfAuthenticationInput evalByCredential(@NonNull @NonNull Map<PublicKeyCredentialDescriptor, Extensions.Prf.PrfValues> evalByCredential) Use different PRF inputs for different credentials, and skip PRF evaluation for any credentials not present in the map. - 
evalByCredentialWithFallback
public static Extensions.Prf.PrfAuthenticationInput evalByCredentialWithFallback(@NonNull @NonNull Map<PublicKeyCredentialDescriptor, Extensions.Prf.PrfValues> evalByCredential, @NonNull @NonNull Extensions.Prf.PrfValues eval) Use different PRF inputs for different credentials, and "fallback" inputs for any credentials not present in the map.- Parameters:
 evalByCredential- a map of credential IDs to PRF inputs to use for that credential.eval- "fallback" inputs to use for any credential not listed inevalByCredential.- Since:
 - 2.7.0
 - See Also:
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -