public static class CognitoDeviceHelper.deviceSRP
extends java.lang.Object
Constructor and Description |
---|
deviceSRP(java.lang.String deviceGroupKey,
java.lang.String deviceKey,
java.lang.String password)
Helps to start the SRP validation of the device.
|
Modifier and Type | Method and Description |
---|---|
static void |
begin()
Start byte digest for SRP.
|
static byte[] |
end()
Complete digest.
|
java.math.BigInteger |
getSalt() |
java.math.BigInteger |
getVerifier()
Returns the generated verifier.
|
static void |
update(java.math.BigInteger... bigInts)
Adds a series of BigIntegers to the digest.
|
static void |
update(java.math.BigInteger n)
Adds a BigInteger to the digest.
|
static void |
update(byte[] b)
Adds a byte array to the digest.
|
static void |
update(java.nio.ByteBuffer b)
Adds the contents of a byte-buffer to the digest.
|
static void |
update(java.lang.String... strings)
Adds a series of strings to the digest.
|
static void |
update(java.lang.String s)
Adds a string to the digest.
|
public deviceSRP(java.lang.String deviceGroupKey, java.lang.String deviceKey, java.lang.String password)
deviceGroupKey
- REQUIRED: Group assigned to the device.deviceKey
- REQUIRED: Unique identifier assigned to the device.password
- REQUIRED: The device password.public java.math.BigInteger getSalt()
public java.math.BigInteger getVerifier()
public static void begin()
public static byte[] end()
public static void update(java.lang.String... strings)
strings
- REQUIRED: Strings to add.public static void update(java.lang.String s)
s
- REQUIRED: String to add.public static void update(java.math.BigInteger... bigInts)
bigInts
- REQUIRED: Numbers to add.public static void update(java.math.BigInteger n)
n
- REQUIRED: The number to add.public static void update(java.nio.ByteBuffer b)
b
- REQUIRED: bytes to add.public static void update(byte[] b)
b
- REQUIRED: bytes to add.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.