Package io.quarkus.vault.secrets.totp
Class KeyDefinition
java.lang.Object
io.quarkus.vault.secrets.totp.KeyDefinition
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KeyDefinition
public KeyDefinition() -
KeyDefinition
-
-
Method Details
-
getBarcode
QR code in base64-formatteed PNG bytes.- Returns:
- Barcode.
-
getUrl
URL in otpauth format (ie otpauth://totp/Google:test@gmail.com?algorithm=SHA1&digits=6&issuer=Google&period=30&secret=HTXT7KJFVNAJUPYWQRWMNVQE5AF5YZI2)- Returns:
- URL in otpauth format.
-
equals
-
hashCode
public int hashCode() -
toString
-