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 - password@Deprecated public static String generateApplicationKey(byte[] nonceValue, String key) throws Exception
public static String getBase64Digest(byte[] nonce, byte[] created, byte[] password)
nonce - noncecreated - createdpassword - passwordpublic static String getBase64DigestKey(byte[] nonce, byte[] apiPass)
nonce - nonceapiPass - apiPasspublic static String base64Encode(byte[] bytes)
bytes - bytes"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"