at.knowcenter.wag.egov.egiz.framework
Class SignResult

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.framework.SignResult
All Implemented Interfaces:
Serializable

public class SignResult
extends Object
implements Serializable

This class holds the signed document, which is given by the mime type and the binary data.

Author:
wprinz
See Also:
Serialized Form

Field Summary
protected  byte[] data
          The binary data of the document.
protected  String mime_type
          The mime type of the data specifying the type of the document.
 
Constructor Summary
SignResult(String document_mime_type, byte[] document_data)
          Constructor.
 
Method Summary
 byte[] getData()
          Returns the binary data.
 String getMimeType()
          Returns the mime type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mime_type

protected String mime_type
The mime type of the data specifying the type of the document.


data

protected byte[] data
The binary data of the document.

Constructor Detail

SignResult

public SignResult(String document_mime_type,
                  byte[] document_data)
Constructor.

Parameters:
document_mime_type - The mime type of the data specifying the type of the document.
document_data - The binary data of the document.
Method Detail

getData

public byte[] getData()
Returns the binary data.

Returns:
Returns the binary data.

getMimeType

public String getMimeType()
Returns the mime type.

Returns:
Returns the mime type.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.