Package com.yubico.webauthn.data
Class PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
java.lang.Object
com.yubico.webauthn.data.PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
- Enclosing class:
- PublicKeyCredentialParameters
public static class PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionalg
(@NonNull COSEAlgorithmIdentifier alg) Specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve.build()
toString()
type
(@NonNull PublicKeyCredentialType type) Specifies the type of credential to be created.
-
Method Details
-
alg
public PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder alg(@NonNull @NonNull COSEAlgorithmIdentifier alg) Specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve.- Returns:
this
.
-
type
public PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder type(@NonNull @NonNull PublicKeyCredentialType type) Specifies the type of credential to be created.- Returns:
this
.
-
build
-
toString
-