public class AuthenticationHelper extends Object
Constructor and Description |
---|
AuthenticationHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
base64Encode(byte[] bytes)
Encodes bytes to a BASE64 String.
|
static String |
generateApplicationKey(byte[] nonceValue,
String key)
Deprecated.
|
static String |
generateSharedSecret(String password)
Deprecated.
|
static String |
getBase64Digest(byte[] nonce,
byte[] created,
byte[] password)
SHA-1(nonce + created + password)
|
static String |
getBase64DigestKey(byte[] nonce,
byte[] apiPass)
SHA-1(nonce + API_PASS)
|
@Deprecated public static String generateSharedSecret(String password)
SitecatalystWebservice.getLoginKey(String, String, String)
insteadpassword
- @Deprecated public static String generateApplicationKey(byte[] nonceValue, String key) throws Exception
nonceValue
- key
- Exception
public static String getBase64Digest(byte[] nonce, byte[] created, byte[] password)
nonce
- created
- password
- public static String getBase64DigestKey(byte[] nonce, byte[] apiPass)
nonce
- apiPass
- public static String base64Encode(byte[] bytes)
bytes
- "Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"