public class SignatureAndData extends Object implements Serializable
Constructor and Description |
---|
SignatureAndData() |
Modifier and Type | Method and Description |
---|---|
String |
getB64Signature()
Returns the String representation of the base64-encoded
server signature (pkcs7)
|
byte[] |
getB64SignatureBytes()
returns the base64-encoded server signature bytes
|
String |
getB64SignedData()
Returns the base64-encoding of the signed data bytes
as String
|
byte[] |
getB64SignedDataBytes()
Returns the base64-encoding of the signed data bytes
|
byte[] |
getSignedDataBytes()
Returns the signed data bytes (NOT base64-encoded)
|
void |
setB64Signature(String string)
Sets teh base64-encoding of the server signature as String
|
void |
setB64SignatureBytes(byte[] bs)
Sets the bae64 server signature bytes
|
void |
setB64SignedData(String string)
Sets the base64-encoding of the signed data as string
|
void |
setB64SignedDataBytes(byte[] bs)
Sets the base64 encoding of the the signed data bytes
|
void |
setSignedDataBytes(byte[] bs)
Sets the signed data bytes (plain)
|
public String getB64SignedData()
public String getB64Signature()
public byte[] getB64SignatureBytes()
public byte[] getB64SignedDataBytes()
public byte[] getSignedDataBytes()
public void setB64SignedData(String string)
string
- The base64 signed datapublic void setB64Signature(String string)
string
- The base64 server signaturepublic void setB64SignatureBytes(byte[] bs)
bs
- byte[] containing the base64 server signaturepublic void setB64SignedDataBytes(byte[] bs)
bs
- public void setSignedDataBytes(byte[] bs)
bs
- byte[] containing the plain data bytesCopyright © 2017 Nets Branch Norway. All Rights Reserved.