public class SignatureAndChallenge extends Object implements Serializable
Constructor and Description |
---|
SignatureAndChallenge() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getB64ServerChallenge()
Returns the base64-encoded Server challenge to be sent to the BankID Client
|
String |
getB64ServerChallengeAsString()
Return the b64encoded serverchallenge as String
|
byte[] |
getB64ServerSignature()
Returns the base64-encoded serverSignature (pkcs#7) of the client challenge
|
String |
getB64ServerSignatureAsString()
Returns the b64encoded server signature as string
|
void |
setB64ServerChallenge(byte[] bs)
Sets the b64encoded serverChallenge
|
void |
setB64ServerChallengeAsString(String string)
Sets the b64encoded server challenge String
|
void |
setB64ServerSignature(byte[] bs)
Sets the b64encoded serverSignature
|
void |
setB64ServerSignatureAsString(String string)
Sets the b64encoded server signature as String
|
public byte[] getB64ServerChallenge()
public byte[] getB64ServerSignature()
public void setB64ServerChallenge(byte[] bs)
bs
- byte[] The b64encoded serverChallengepublic void setB64ServerSignature(byte[] bs)
bs
- byte[] containing the b64encoded serverSignaturepublic String getB64ServerChallengeAsString()
public String getB64ServerSignatureAsString()
public void setB64ServerChallengeAsString(String string)
string
- The b64encoded server challenge as Stringpublic void setB64ServerSignatureAsString(String string)
string
- The b64encoded server signature StringCopyright © 2017 Nets Branch Norway. All Rights Reserved.