A B C D E F G H I N P Q S T U V W 
All Classes All Packages

A

ALGORITHM - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 
at(long) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
at(Instant) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
at(LocalDate) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
at(Date) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 

B

build() - Method in class com.bastiaanjansen.otp.HOTPGenerator.Builder
 
build() - Method in class com.bastiaanjansen.otp.TOTPGenerator.Builder
 
Builder(byte[]) - Constructor for class com.bastiaanjansen.otp.HOTPGenerator.Builder
 
Builder(byte[]) - Constructor for class com.bastiaanjansen.otp.TOTPGenerator.Builder
 

C

com.bastiaanjansen.otp - package com.bastiaanjansen.otp
 
com.bastiaanjansen.otp.helpers - package com.bastiaanjansen.otp.helpers
 
COUNTER - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 
createURI(String, String, String, Map<String, String>) - Static method in class com.bastiaanjansen.otp.helpers.URIHelper
Create a URI based on a scheme, host, path and query items

D

DEFAULT_BITS - Static variable in class com.bastiaanjansen.otp.SecretGenerator
Default amount of bits for secret generation
DIGITS - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 
durationUntilNextTimeWindow() - Method in class com.bastiaanjansen.otp.TOTPGenerator
Calculates time until next time window will be reached and a new totp should be generated
durationUntilNextTimeWindow(Clock) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 

E

encode(String) - Static method in class com.bastiaanjansen.otp.helpers.URIHelper
 

F

fromURI(URI) - Static method in class com.bastiaanjansen.otp.HOTPGenerator
 
fromURI(URI) - Static method in class com.bastiaanjansen.otp.TOTPGenerator
 

G

generate() - Static method in class com.bastiaanjansen.otp.SecretGenerator
Generate an OTP base32 secret with default amount of bits
generate(int) - Static method in class com.bastiaanjansen.otp.SecretGenerator
Generate an OTP base32 secret
generate(long) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
getAlgorithm() - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
getAlgorithm() - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getClock() - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getHMACName() - Method in enum com.bastiaanjansen.otp.HMACAlgorithm
 
getPasswordLength() - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
getPasswordLength() - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getPeriod() - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getURI(int, String) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
getURI(int, String, String) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
getURI(String) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getURI(String, String) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
getURI(String, String, String, Map<String, String>) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 

H

HMACAlgorithm - Enum in com.bastiaanjansen.otp
HMAC algorithm enum
HOTPGenerator - Class in com.bastiaanjansen.otp
 
HOTPGenerator.Builder - Class in com.bastiaanjansen.otp
 

I

ISSUER - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 

N

now() - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
now(Clock) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 

P

PERIOD - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 

Q

queryItems(URI) - Static method in class com.bastiaanjansen.otp.helpers.URIHelper
Get a map of query items from URI

S

SECRET - Static variable in class com.bastiaanjansen.otp.helpers.URIHelper
 
SecretGenerator - Class in com.bastiaanjansen.otp
A secret generator to generate OTP secrets
SHA1 - com.bastiaanjansen.otp.HMACAlgorithm
Deprecated.
SHA224 - com.bastiaanjansen.otp.HMACAlgorithm
 
SHA256 - com.bastiaanjansen.otp.HMACAlgorithm
 
SHA384 - com.bastiaanjansen.otp.HMACAlgorithm
 
SHA512 - com.bastiaanjansen.otp.HMACAlgorithm
 

T

TOTPGenerator - Class in com.bastiaanjansen.otp
 
TOTPGenerator.Builder - Class in com.bastiaanjansen.otp
 

U

URIHelper - Class in com.bastiaanjansen.otp.helpers
A URI utility class with helper methods

V

valueOf(String) - Static method in enum com.bastiaanjansen.otp.HMACAlgorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.bastiaanjansen.otp.HMACAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String) - Method in class com.bastiaanjansen.otp.TOTPGenerator
 
verify(String, int) - Method in class com.bastiaanjansen.otp.TOTPGenerator
Checks whether a code is valid for a specific counter taking a delay window into account
verify(String, long) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 
verify(String, long, int) - Method in class com.bastiaanjansen.otp.HOTPGenerator
 

W

withAlgorithm(HMACAlgorithm) - Method in class com.bastiaanjansen.otp.HOTPGenerator.Builder
 
withClock(Clock) - Method in class com.bastiaanjansen.otp.TOTPGenerator.Builder
 
withDefaultValues(byte[]) - Static method in class com.bastiaanjansen.otp.HOTPGenerator
 
withDefaultValues(byte[]) - Static method in class com.bastiaanjansen.otp.TOTPGenerator
 
withHOTPGenerator(Consumer<HOTPGenerator.Builder>) - Method in class com.bastiaanjansen.otp.TOTPGenerator.Builder
 
withPasswordLength(int) - Method in class com.bastiaanjansen.otp.HOTPGenerator.Builder
 
withPeriod(Duration) - Method in class com.bastiaanjansen.otp.TOTPGenerator.Builder
 
A B C D E F G H I N P Q S T U V W 
All Classes All Packages