public class SecureChannelInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
SECURE_CHANNEL_KEY_DATATOBESIGNED |
static String |
SECURE_CHANNEL_KEY_DATATOBESIGNED_SHA256 |
static String |
SECURE_CHANNEL_KEY_OTPSESSION
Deprecated.
OTP Session have been removed from the SecureChannel and should not be used.
|
static String |
SECURE_CHANNEL_KEY_SERVERCHALLENGE |
static String |
SECURE_CHANNEL_KEY_SERVERCHALLENGE_SHA256 |
static String |
SECURE_CHANNEL_VALUE_OTPSESSION_N
Deprecated.
OTP Session have been removed from the SecureChannel and should not be used.
|
static String |
SECURE_CHANNEL_VALUE_OTPSESSION_Y
Deprecated.
OTP Session have been removed from the SecureChannel and should not be used.
|
Constructor and Description |
---|
SecureChannelInfo()
Empty Constructor
|
SecureChannelInfo(HashMap<String,String> channelInfo)
Constructor that requires a HashMap as input.
|
Modifier and Type | Method and Description |
---|---|
void |
addSecureChannelInfo(String key,
String value)
Method to add SecureChannelInfo key-value pair.
|
String |
getSCInfoInURLPattern()
Method that returns the key-value pairs in URL-pattern (key=value&key=value...)
|
String |
getValue(String key) |
boolean |
isEmpty()
Returns true if this instance has any SecureChannel info set, else false
|
public static final String SECURE_CHANNEL_KEY_SERVERCHALLENGE
public static final String SECURE_CHANNEL_KEY_SERVERCHALLENGE_SHA256
public static final String SECURE_CHANNEL_KEY_DATATOBESIGNED
public static final String SECURE_CHANNEL_KEY_DATATOBESIGNED_SHA256
@Deprecated public static final String SECURE_CHANNEL_KEY_OTPSESSION
@Deprecated public static final String SECURE_CHANNEL_VALUE_OTPSESSION_N
@Deprecated public static final String SECURE_CHANNEL_VALUE_OTPSESSION_Y
public SecureChannelInfo()
public SecureChannelInfo(HashMap<String,String> channelInfo) throws NullPointerException
channelInfo
- HashMap containing secure channel key-value pairsNullPointerException
- If the input HashMap is null or emptypublic void addSecureChannelInfo(String key, String value) throws NullPointerException
key
- String The info keyvalue
- String The info valueNullPointerException
- If either the input key or value is null or emptypublic String getSCInfoInURLPattern()
public boolean isEmpty()
Copyright © 2017 Nets Branch Norway. All Rights Reserved.