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 java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
alg(@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.PublicKeyCredentialParameters
build()
java.lang.String
toString()
PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
type(@NonNull PublicKeyCredentialType type)
Specifies the type of credential to be created.
-
-
-
Method Detail
-
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.
-
type
public PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder type(@NonNull @NonNull PublicKeyCredentialType type)
Specifies the type of credential to be created.
-
build
public PublicKeyCredentialParameters build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-