Class Credential

java.lang.Object
io.webfolder.cdp.type.webauthn.Credential

public class Credential
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Credential()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCredentialId()  
    java.lang.Boolean getIsResidentCredential()  
    java.lang.String getPrivateKey()
    The ECDSA P-256 private key in PKCS#8 format.
    java.lang.String getRpId()
    Relying Party ID the credential is scoped to.
    java.lang.Integer getSignCount()
    Signature counter.
    java.lang.String getUserHandle()
    An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.
    void setCredentialId​(java.lang.String credentialId)  
    void setIsResidentCredential​(java.lang.Boolean isResidentCredential)  
    void setPrivateKey​(java.lang.String privateKey)
    The ECDSA P-256 private key in PKCS#8 format.
    void setRpId​(java.lang.String rpId)
    Relying Party ID the credential is scoped to.
    void setSignCount​(java.lang.Integer signCount)
    Signature counter.
    void setUserHandle​(java.lang.String userHandle)
    An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCredentialId

      public java.lang.String getCredentialId()
    • setCredentialId

      public void setCredentialId​(java.lang.String credentialId)
    • setIsResidentCredential

      public void setIsResidentCredential​(java.lang.Boolean isResidentCredential)
    • getRpId

      public java.lang.String getRpId()
      Relying Party ID the credential is scoped to. Must be set when adding a credential.
    • setRpId

      public void setRpId​(java.lang.String rpId)
      Relying Party ID the credential is scoped to. Must be set when adding a credential.
    • getPrivateKey

      public java.lang.String getPrivateKey()
      The ECDSA P-256 private key in PKCS#8 format.
    • setPrivateKey

      public void setPrivateKey​(java.lang.String privateKey)
      The ECDSA P-256 private key in PKCS#8 format.
    • getUserHandle

      public java.lang.String getUserHandle()
      An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.
    • setUserHandle

      public void setUserHandle​(java.lang.String userHandle)
      An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.
    • getSignCount

      public java.lang.Integer getSignCount()
      Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter
    • setSignCount

      public void setSignCount​(java.lang.Integer signCount)
      Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter
    • getIsResidentCredential

      public java.lang.Boolean getIsResidentCredential()