public class ContextInfo extends Object implements Serializable
Constructor and Description |
---|
ContextInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getBankidEnvironment()
Returns the BankID environment for this merchant context.
|
String |
getGrantedCertificatePolicies()
Returns a comma-delimintated String of the granted certificate policy oids
configured for this Context
|
MerchantContext |
getMerchantContext() |
String |
getMerchantName()
Returns the merchant name registered for this Context.
|
String |
getMode()
Returns the mode that the Context operates in.
|
String |
getSignerCertificateCommonName()
Returns the CommonName value from teh merchant's signer certificate.
|
void |
setBankidEnvironment(String string)
Sets the BankID Environment
|
void |
setGrantedCertificatePolicies(String string)
Sets a comma-delimintated String of the granted certificate policy oids
configured for this Context
|
void |
setMerchantContext(MerchantContext context) |
void |
setMerchantName(String string)
Sets the merchant name
|
void |
setMode(String string)
Sets the merchant context mode
|
void |
setSignerCertificateCommonName(String string)
Sets the signer certificate CommonName
|
public String getBankidEnvironment()
public String getMerchantName()
public String getSignerCertificateCommonName()
public void setBankidEnvironment(String string)
string
- The BankID Envrironmentpublic void setMerchantName(String string)
string
- String the merchant namepublic void setSignerCertificateCommonName(String string)
string
- String holding the signer certificaste's CommonNamepublic String getMode()
public void setMode(String string)
string
- String holding the mode (p12 or hsm)public String getGrantedCertificatePolicies()
public void setGrantedCertificatePolicies(String string)
string
- comma-delimintated String of the granted certificate policy oidspublic void setMerchantContext(MerchantContext context)
public MerchantContext getMerchantContext()
Copyright © 2017 Nets Branch Norway. All Rights Reserved.