Class SecurityKeySignatureData

java.lang.Object
com.hierynomus.sshj.userauth.fido.SecurityKeySignatureData

public class SecurityKeySignatureData extends Object
The result of a SecurityKeySigner assertion: what the authenticator reported back.
  • Constructor Details

    • SecurityKeySignatureData

      public SecurityKeySignatureData(byte flags, long counter, byte[] signature)
      Parameters:
      flags - the authenticator data flags the device returned (user-presence, user-verified, ...)
      counter - the signature counter the device returned (an unsigned 32-bit value)
      signature - the raw signature the device produced: an ASN.1 DER ECDSA signature for sk-ecdsa-sha2-nistp256@openssh.com, or the raw 64-byte Ed25519 signature for sk-ssh-ed25519@openssh.com
  • Method Details

    • getFlags

      public byte getFlags()
    • getCounter

      public long getCounter()
    • getSignature

      public byte[] getSignature()