IAIK TSP
version 2.01
A B C D E F G I L M N P R S T U V W

A

ADD_INFO_NOT_AVAILABLE - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of an addInfoNotAvailable failure
ADD_INFO_NOT_AVAILABLE_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a addInfoNotAvailable failure
Accuracy - class iaik.tsp.Accuracy.
This class implements the TSP ASN.1 type Accuracy as it is specified in RFC 3161.
Accuracy() - Constructor for class iaik.tsp.Accuracy
To construct a new Accuracy object.
Accuracy(ASN1Object) - Constructor for class iaik.tsp.Accuracy
This constructor tries to reconstruct an Accuracy object from a given ASN.1 structure.
addString(String) - Method in class iaik.tsp.PKIFreeText
This method adds a new string to the end of the structure.

B

BAD_ALG - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of a badAlg failure
BAD_ALG_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a badAlg failure
BAD_DATA_FORMAT - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of a badDataFormat failure
BAD_DATA_FORMAT_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a badDataFormat failure
BAD_REQUEST - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of a badRequest failure
BAD_REQUEST_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a badRequest failure

C

CONTENT_TYPE_REPLY - Static variable in interface iaik.tsp.transport.http.TspHttpConstants
MIME Type of a TimeStampResp.
CONTENT_TYPE_REQUEST - Static variable in interface iaik.tsp.transport.http.TspHttpConstants
MIME Type of a TimeStampReq.
CONTENT_TYPE_RESPONSE - Static variable in interface iaik.tsp.transport.http.TspHttpConstants
Often used wrong MIME Type of a TimeStampResp.
ConfigurationURL - Static variable in class demo.tsp.config.TspServerConfiguration
Default Configuration URL.
calculateHash(byte[], AlgorithmID) - Static method in class iaik.tsp.MessageImprint
This method calculates the hash value of the given data.
checkRangeOfMicros(int) - Method in class iaik.tsp.Accuracy
This method checks if the given parameter is in the range.
checkRangeOfMillis(int) - Method in class iaik.tsp.Accuracy
This method checks if the given parameter is in the range.
checkRangeOfSeconds(int) - Method in class iaik.tsp.Accuracy
This method checks if the given parameter is in the range.

D

DEFAULT_PORT - Static variable in class demo.tsp.connections.ssl.TspSSLClient
The default port
DEFAULT_PORT - Static variable in class demo.tsp.connections.tcpip.TspTcpIpClient
The default port
DEFAULT_SERVER_PORT - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
Recommended port for a TCP/IP server.
DEFAULT_URL - Static variable in class demo.tsp.connections.ssl.TspSSLClient
The url of the default tsa server
DEFAULT_URL - Static variable in class demo.tsp.connections.tcpip.TspTcpIpClient
The url of the default tsa server
decode(InputStream) - Method in class iaik.tsp.TSTInfo
This method tries to reconstruct a TSTInfo object from the given InputStream.
decode(ASN1Object) - Method in class iaik.tsp.TSTInfo
This method tries to reconstruct a TSTInfo object from the given ASN.1 structure.
decode(byte[]) - Method in class iaik.tsp.TSTInfo
This method tries to reconstruct a TSTInfo object from an encoded ASN.1 object.
demo.tsp.config - package demo.tsp.config
This package contains some demo configuration classes for a TSP Server.
demo.tsp.connections.http - package demo.tsp.connections.http
This package contains a demo servlet for a HTTP-TSP server.
demo.tsp.connections.ssl - package demo.tsp.connections.ssl
This package contains a demo TSP-SSL server and client.
demo.tsp.connections.tcpip - package demo.tsp.connections.tcpip
This package contains a demo TSP-TCP/IP server and client.
doGet(HttpServletRequest, HttpServletResponse) - Method in class demo.tsp.connections.http.TspHttpServerServlet
Will be forwarded to TspHttpServerServlet.doPost(HttpServletRequest, HttpServletResponse).
doPost(HttpServletRequest, HttpServletResponse) - Method in class demo.tsp.connections.http.TspHttpServerServlet
This method receives a TimeStampReq and answers with a TimeStampResp.
For more details please refer to RFC 3161.

E

ERROR_MSG_RESP - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
produced when an error is detected (e.g., a polling reference
is received which doesn't exist or is finished with)
equals(Object) - Method in class iaik.tsp.MessageImprint
Compare two MessageImprint objects.

F

FINAL_MSG_RESP - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
final (and possibly sole) response to initial message

G

GRANTED - Static variable in class iaik.tsp.PKIStatus
The PKIStatus granted (0)
GRANTED_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus granted (0)
GRANTED_WITH_MODS - Static variable in class iaik.tsp.PKIStatus
The PKIStatus grantedWithMods (1)
GRANTED_WITH_MODS_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus grantedWithMods (1)
generateSerialNumber() - Method in class demo.tsp.connections.http.TspHttpServerServlet
Creates an unique serial number.
generateSerialNumber() - Method in class demo.tsp.connections.ssl.TspSSLServerThread
Generates an unique serial number.
generateSerialNumber() - Method in class demo.tsp.connections.tcpip.TspTcpIpServerThread
Generates an unique serial number.
getAccuracy() - Method in class demo.tsp.config.TspServerConfiguration
Returns the Accuracy.
getAccuracy() - Method in class iaik.tsp.TSTInfo
Returns the Accuracy object.
getBlockSize() - Method in class iaik.tsp.TSTInfo
This method has no effect and is only provided to fully implement the iaik.cms.Content interface.
getCertBags() - Method in class demo.tsp.config.TspServerConfiguration
Returns the CertificateBag[].
getCertID() - Method in class iaik.tsp.TimeStampToken
Returns the certificate identifier, or null if not present.
getCertReq() - Method in class iaik.tsp.TimeStampReq
Returns if a certificate is requested or not.
getCertificates() - Method in class iaik.tsp.TimeStampToken
Returns the included X509 certificates or null.
getConfiguration() - Method in class demo.tsp.connections.ssl.TspSSLServer
Returns the used TspServerConfiguration.
getConfiguration() - Method in class demo.tsp.connections.tcpip.TspTcpIpServer
Returns the used TspServerConfiguration.
getContentType() - Method in class iaik.tsp.TSTInfo
Returns the OID of the implemented CMS content type.
getEncoded() - Method in class iaik.tsp.Accuracy
This method DER encodes the ASN.1 Accuracy object.
getEncoded() - Method in class iaik.tsp.MessageImprint
This method DER encodes the ASN.1 MessageImprint object.
getEncoded() - Method in class iaik.tsp.PKIFailureInfo
This method DER encodes the ASN.1 PKIFailureInfo object.
getEncoded() - Method in class iaik.tsp.PKIFreeText
This method DER encodes the ASN.1 PKIFreeText object.
getEncoded() - Method in class iaik.tsp.PKIStatus
This method DER encodes the ASN.1 PKIStatus object.
getEncoded() - Method in class iaik.tsp.PKIStatusInfo
This method DER encodes the ASN.1 PKIStatusInfo object.
getEncoded() - Method in class iaik.tsp.TSTInfo
This method DER encodes the ASN.1 TSTInfo object.
getEncoded() - Method in class iaik.tsp.TimeStampReq
This method DER encodes the ASN.1 TimeStampReq object.
getEncoded() - Method in class iaik.tsp.TimeStampResp
This method DER encodes the ASN.1 TimeStampResp object.
getErrorMsg() - Method in class iaik.tsp.transport.http.TspHttpResponse
Returns the error message or null if this response is a finalMsgRep.
getErrorMsg() - Method in class iaik.tsp.transport.tcpip.TspTcpIpResponse
Returns the error message or null if this response is a finalMsgRep.
getExtensions() - Method in class iaik.tsp.TSTInfo
Returns the X509Extensions object.
getExtensions() - Method in class iaik.tsp.TimeStampReq
Returns the X509Extensions object.
getFailureInfo() - Method in class iaik.tsp.PKIFailureInfo
This method returns the failure code.
getGenTime() - Method in class iaik.tsp.TSTInfo
Returns the time string.
getHashAlgorithm() - Method in class demo.tsp.config.TspServerConfiguration
Returns the Hash algorithm to be used for signing.
getHashAlgorithm() - Method in class iaik.tsp.MessageImprint
This method returns the AlgorithmID object.
getHashAlgorithm() - Method in class iaik.tsp.TimeStampToken
Returns the used AlgorithmID for creating the hash.
getHashedMessage() - Method in class iaik.tsp.MessageImprint
This method returns the hashed message.
getHttpCode() - Method in class iaik.tsp.transport.http.TspHttpResponse
Returns the received HTTP code.
getIssuerSerial() - Method in class iaik.tsp.TimeStampToken
Returns the ESSIssuerSerial.
getMaxTimeOut() - Method in class demo.tsp.config.TspServerConfiguration
Returns the time out of the socket.
getMessageImprint() - Method in class iaik.tsp.TSTInfo
Returns the MessageImprint object.
getMessageImprint() - Method in class iaik.tsp.TimeStampReq
Returns the MessageImprint object.
getMicros() - Method in class iaik.tsp.Accuracy
Returns the microseconds fraction of the accuracy.
getMillis() - Method in class iaik.tsp.Accuracy
Returns the milliseconds of the accuracy.
getNonce() - Method in class iaik.tsp.TSTInfo
Returns the nonce number.
getNonce() - Method in class iaik.tsp.TimeStampReq
Returns the nonce number.
getObjectID() - Method in class demo.tsp.config.TspServerConfiguration
Returns the ObjectID.
getOrdering() - Method in class iaik.tsp.TSTInfo
Returns the ordering information.
getPKIFailureInfo() - Method in class iaik.tsp.PKIStatusInfo
This method returns the PKIFailureInfo object.
getPKIFreeText() - Method in class iaik.tsp.PKIStatusInfo
This method returns the PKIFreeText object.
getPKIStatus() - Method in class iaik.tsp.PKIStatusInfo
This method returns the PKIStatus object.
getPKIStatusInfo() - Method in class iaik.tsp.TimeStampResp
Returns the PKIStatusInfo object.
getPrivateKey() - Method in class demo.tsp.config.TspServerConfiguration
Returns the PrivateKey.
getSeconds() - Method in class iaik.tsp.Accuracy
Returns the seconds of the accuracy.
getSerialNumber() - Method in class iaik.tsp.TSTInfo
Returns the serial number.
getServerPort() - Method in class demo.tsp.config.TspServerConfiguration
Returns the port.
getSignedData() - Method in class iaik.tsp.TimeStampToken
Returns the SignedData form the TimeStampToken, or null if the TimeStampToken is not signed.
getSignerInfo() - Method in class iaik.tsp.TimeStampToken
Returns the SignerInfo if present.
getSigningCertificate() - Method in class iaik.tsp.TimeStampToken
Returns the TSACertificate or null if not present.
getSize() - Method in class iaik.tsp.PKIFreeText
Returns the number of string elements.
getStatus() - Method in class iaik.tsp.PKIStatus
This method returns the status code.
getStringAt(int) - Method in class iaik.tsp.PKIFreeText
This method returns the string at the specified index.
getTSACertificate() - Method in class demo.tsp.config.TspServerConfiguration
Returns the X509Certificate.
getTSAPolicyID() - Method in class iaik.tsp.TSTInfo
Returns the PolicyInformation object.
getTSAPolicyID() - Method in class iaik.tsp.TimeStampReq
Returns the PolicyInformation object.
getTSTInfo() - Method in class iaik.tsp.TimeStampToken
Returns the TSTInfo object.
getTimeStampResp() - Method in class iaik.tsp.transport.http.TspHttpResponse
Returns the TimeStampResp or null if this response is an HTTP error.
getTimeStampResp() - Method in class iaik.tsp.transport.tcpip.TspTcpIpResponse
Returns the TimeStampResp or null if this response is an errorMsgRep.
getTimeStampToken() - Method in class iaik.tsp.TimeStampResp
Returns the TimeStampToken object.
getTsa() - Method in class iaik.tsp.TSTInfo
Returns the GeneralName object describing the TSA.
getVersion() - Method in class iaik.tsp.TSTInfo
Returns the version of the implemented TSP.
getVersion() - Method in class iaik.tsp.TimeStampReq
Returns the TSP version.

I

ID_CT_TSTINFO - Static variable in class iaik.tsp.TSTInfo
The ObjectID of this object
ISSUER_AND_SERIALNUMBER - Static variable in class iaik.tsp.TimeStampToken
The CMS certificate identifier type IssuerAndSerialNumber.
iaik.tsp - package iaik.tsp
This package is the main package and contains the ASN.1 structures which are defined in RFC 3161.
iaik.tsp.transport.http - package iaik.tsp.transport.http
This package contains the implementation classes of the HTTP based protocol defined in RFC 3161.
iaik.tsp.transport.ssl - package iaik.tsp.transport.ssl
This package contains the implementation classes of the Socket based protocol (defined in RFC 3161) over SSL.
iaik.tsp.transport.tcpip - package iaik.tsp.transport.tcpip
This package contains the implementation classes of the Socket based protocol defined in RFC 3161.
init() - Method in class demo.tsp.connections.http.TspHttpServerServlet
Loads the configuration file and initializes the servlet.
isErrorResponse() - Method in class iaik.tsp.transport.http.TspHttpResponse
Indicates whether this response is an HTTP error or not.
isErrorResponse() - Method in class iaik.tsp.transport.tcpip.TspTcpIpResponse
Indicates whether this is response is an errorMsgRep or not.

L

loadConfiguration(String) - Method in class demo.tsp.config.TspServerConfiguration
Loads the configuration from the specified URL.
log - Static variable in class demo.tsp.config.TspServerConfiguration
The logger for this class.
log - Static variable in class demo.tsp.connections.http.TspHttpServerServlet
The logger for this class.
log - Static variable in class demo.tsp.connections.ssl.TspSSLClient
The logger for this class.
log - Static variable in class demo.tsp.connections.ssl.TspSSLServer
The logger for this class.
log - Static variable in class demo.tsp.connections.ssl.TspSSLServerThread
The logger for this class.
log - Static variable in class demo.tsp.connections.tcpip.TspTcpIpClient
The logger for this class.
log - Static variable in class demo.tsp.connections.tcpip.TspTcpIpServer
The logger for this class.
log - Static variable in class demo.tsp.connections.tcpip.TspTcpIpServerThread
The logger for this class.

M

MESSAGE - Static variable in class demo.tsp.connections.ssl.TspSSLClient
Message to be time stamped
MESSAGE - Static variable in class demo.tsp.connections.tcpip.TspTcpIpClient
Message to be time stamped
MessageImprint - class iaik.tsp.MessageImprint.
This class implements the TSP ASN.1 type MessageImprint as it is specified in RFC 3161.
MessageImprint(AlgorithmID, byte[]) - Constructor for class iaik.tsp.MessageImprint
To construct a new MessageImprint object, an AlgorithmID object and the corresponding hash code must be provided.
MessageImprint(ASN1Object) - Constructor for class iaik.tsp.MessageImprint
This constructor tries to reconstruct a MessageImprint object from a given ASN.1 structure.
main(String[]) - Static method in class demo.tsp.connections.ssl.TspSSLClient
Creates a time stamp request and sends it to the specified server.
2 Arguments present: 1 => server and 2 => port
1 Argument present: 1 => server and port 10318 will be used
0 Arguments present: tsp.iaik.at and port 10318 will be used
main(String[]) - Static method in class demo.tsp.connections.ssl.TspSSLServer
Main class for a TspTcpIpServer.
main(String[]) - Static method in class demo.tsp.connections.tcpip.TspTcpIpClient
Creates a time stamp request and sends it to the specified server.
2 Arguments present: 1 => server and 2 => port
1 Argument present: 1 => server and port 318 will be used
0 Arguments present: tsp.iaik.at and port 318 will be used
main(String[]) - Static method in class demo.tsp.connections.tcpip.TspTcpIpServer
Main class for a TspTcpIpServer.

N

NEG_POLL_REQ - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
no further polling responses (i.e., transaction complete)

P

PARTIAL_MSG_RESP - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
partial response (receipt) to initial message plus new polling
reference (and estimated time value) to use to get next part of response
PKIFailureInfo - class iaik.tsp.PKIFailureInfo.
This class implements the TSP ASN.1 type PKIFailureInfo as it is specified in RFC 3161.
PKIFailureInfo(String) - Constructor for class iaik.tsp.PKIFailureInfo
To construct a new PKIFailureInfo object with the given failure code.
PKIFailureInfo(ASN1Object) - Constructor for class iaik.tsp.PKIFailureInfo
This constructor tries to reconstruct a PKIFailureInfo object from the given ASN.1 structure.
PKIFreeText - class iaik.tsp.PKIFreeText.
This class implements the TSP ASN.1 type PKIFreeText as it is specified in RFC 3161.
PKIFreeText(String) - Constructor for class iaik.tsp.PKIFreeText
To construct a new PKIFreeText object with the given String.
PKIFreeText(ASN1Object) - Constructor for class iaik.tsp.PKIFreeText
This constructor tries to reconstruct a PKIFreeText object from the given ASN.1 structure.
PKIStatus - class iaik.tsp.PKIStatus.
This class implements the TSP ASN.1 type MessageImprint as it is specified in RFC 3161.
PKIStatus(int) - Constructor for class iaik.tsp.PKIStatus
To construct a new PKIStatus object with the given status code.
PKIStatus(ASN1Object) - Constructor for class iaik.tsp.PKIStatus
This constructor tries to reconstruct a PKIStatus object from the given ASN.1 structure.
PKIStatusInfo - class iaik.tsp.PKIStatusInfo.
This class implements the TSP ASN.1 type PKIStatusInfo as it is specified in RFC 3161.
PKIStatusInfo(PKIStatus) - Constructor for class iaik.tsp.PKIStatusInfo
To construct a new PKIStatusInfo object a PKIStatus object must be provided.
PKIStatusInfo(ASN1Object) - Constructor for class iaik.tsp.PKIStatusInfo
This constructor tries to reconstruct a PKIStatusInfo object from the given ASN.1 structure.
POLL_REQ - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
request for a TSA message response to initial message
POLL_RESP - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
poll response where no TSA message response ready
PROTOCOL_VERSION - Static variable in class iaik.tsp.TimeStampReq
The current protocol version = 1

R

REJECTION - Static variable in class iaik.tsp.PKIStatus
The PKIStatus rejection (2)
REJECTION_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus rejection (2)
REVOCATION_NOTIFICATION - Static variable in class iaik.tsp.PKIStatus
The PKIStatus revocationNotification (5)
REVOCATION_NOTIFICATION_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus revocationWarning (5)
REVOCATION_WARNING - Static variable in class iaik.tsp.PKIStatus
The PKIStatus revocationWarning (4)
REVOCATION_WARNING_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus revocationWarning (4)
receiveAndSendData() - Method in class demo.tsp.connections.ssl.TspSSLServer
Waits for a connection from a client.
receiveAndSendData() - Method in class demo.tsp.connections.tcpip.TspTcpIpServer
Waits for a connection from a client.
run() - Method in class demo.tsp.connections.ssl.TspSSLServerThread
This method handles the communication with the client.
run() - Method in class demo.tsp.connections.tcpip.TspTcpIpServerThread
This method handles the communication with the client.

S

SUBJECT_KEY_IDENTIFIER - Static variable in class iaik.tsp.TimeStampToken
The CMS certificate identifier type SubjectKeyIdentifier.
SYSTEM_FAILURE - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of a systemFailure failure
SYSTEM_FAILURE_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a systemFailure failure
sendAndReceiveData(TimeStampReq) - Method in class demo.tsp.connections.ssl.TspSSLClient
This method sends a TimeStampReq to the specified time stamping server.
sendAndReceiveData(TimeStampReq) - Method in class demo.tsp.connections.tcpip.TspTcpIpClient
This method sends a TimeStampReq to the specified time stamping server.
sendRequest(TimeStampReq) - Method in class iaik.tsp.transport.http.TspHttpClient
Sends a TimeStampReq to the specified server and receives a TspHttpResponse.
sendRequest(TimeStampReq) - Method in class iaik.tsp.transport.ssl.TspSSLClientSocket
Sends a TimeStampReq to the specified server and receives a TspTcpIpResponse.
sendRequest(TimeStampReq) - Method in class iaik.tsp.transport.tcpip.TspClientSocket
Sends a TimeStampReq to the specified server and receives a TspTcpIpResponse.
sendRequest(TimeStampReq, OutputStream, InputStream) - Method in class iaik.tsp.transport.tcpip.TspTcpIpProtocol
Sends a TimeStampReq to the specified server and receives a TspTcpIpResponse.
setAccuracy() - Method in class demo.tsp.config.TspServerConfiguration
Returns whether the Accuracy in the TimeStampResp should be set or not.
setAccuracy(Accuracy) - Method in class iaik.tsp.TSTInfo
This method sets a new Accuracy object.
setBlockSize(int) - Method in class iaik.tsp.TSTInfo
This method has no effect and is only provided to fully implement the iaik.cms.Content interface.
setCertReq(boolean) - Method in class iaik.tsp.TimeStampReq
This method sets or resets a certificate request.
setCertificates(X509Certificate[]) - Method in class iaik.tsp.TimeStampToken
Sets the CertificateChain for signing.
setExtensions(X509Extensions) - Method in class iaik.tsp.TSTInfo
This method sets the X509Extensions.
setExtensions(X509Extensions) - Method in class iaik.tsp.TimeStampReq
This method sets a new X509Extensions object.
setFailureInfo(String) - Method in class iaik.tsp.PKIFailureInfo
This method sets a new failure code.
setGenTime(Date) - Method in class iaik.tsp.TSTInfo
This method sets a new generalized time.
setHashAlgorithm(AlgorithmID) - Method in class iaik.tsp.MessageImprint
Sets the hash algorithm to be used.
setHashAlgorithm(AlgorithmID) - Method in class iaik.tsp.TimeStampToken
Sets the hash algorithm used for creating the hash.
setHashedMessage(byte[]) - Method in class iaik.tsp.MessageImprint
Sets the hashed message.
setMessageImprint(MessageImprint) - Method in class iaik.tsp.TSTInfo
This method sets a new MessageImprint object.
setMessageImprint(MessageImprint) - Method in class iaik.tsp.TimeStampReq
This method sets a new MessageImprint object.
setMicros(int) - Method in class iaik.tsp.Accuracy
This method sets the accuracy in microseconds.
setMillis(int) - Method in class iaik.tsp.Accuracy
This method sets the accuracy in milliseconds.
setNonce(BigInteger) - Method in class iaik.tsp.TSTInfo
This method sets the nonce field.
setNonce(BigInteger) - Method in class iaik.tsp.TimeStampReq
This method sets a new nonce number.
setOrdering(boolean) - Method in class iaik.tsp.TSTInfo
This method sets ordering to true or false.
setPKIFailureInfo(PKIFailureInfo) - Method in class iaik.tsp.PKIStatusInfo
This method sets a new PKIFailureInfo object.
setPKIFreeText(PKIFreeText) - Method in class iaik.tsp.PKIStatusInfo
This method sets a new PKIFreeText object.
setPKIStatus(PKIStatus) - Method in class iaik.tsp.PKIStatusInfo
This method sets a new PKIStatus object.
setPKIStatusInfo(PKIStatusInfo) - Method in class iaik.tsp.TimeStampResp
This method sets a new PKIStatusInfo object.
setPrivateKey(PrivateKey) - Method in class iaik.tsp.TimeStampToken
Sets the PrivateKey for signing.
setSeconds(int) - Method in class iaik.tsp.Accuracy
This method sets the accuracy in seconds.
setSerialNumber(BigInteger) - Method in class iaik.tsp.TSTInfo
This method sets a new serial number.
setSigningCertificate(X509Certificate) - Method in class iaik.tsp.TimeStampToken
Sets the certificate for signing.
setStatus(int) - Method in class iaik.tsp.PKIStatus
This method sets a new status code.
setStringAt(String, int) - Method in class iaik.tsp.PKIFreeText
This method sets a string at the specified index.
setTSAPolicyID(ObjectID) - Method in class iaik.tsp.TSTInfo
This method sets a new PolicyInformation object.
setTSAPolicyID(ObjectID) - Method in class iaik.tsp.TimeStampReq
This method sets a new PolicyInformation object.
setTimeStampToken(TimeStampToken) - Method in class iaik.tsp.TimeStampResp
This method sets a new TimeStampToken object.
setTsa(GeneralName) - Method in class iaik.tsp.TSTInfo
This method sets a new GeneralName object.
signTimeStampToken(String, AlgorithmID, int) - Method in class iaik.tsp.TimeStampToken
This method signs the TimeStampToken.
signTimeStampToken(String, AlgorithmID) - Method in class iaik.tsp.TimeStampToken
This method signs the TimeStampToken.
signTimeStampToken(String) - Method in class iaik.tsp.TimeStampToken
This method signs the TimeStampToken.
signTimeStampToken() - Method in class iaik.tsp.TimeStampToken
This method signs the TimeStampToken.
startServer() - Method in class demo.tsp.connections.ssl.TspSSLServer
Starts the TSP TCP/IP server on the specified port.
startServer() - Method in class demo.tsp.connections.tcpip.TspTcpIpServer
Starts the TSP TCP/IP server on the specified port.
stopServer() - Method in class demo.tsp.connections.ssl.TspSSLServer
Stops the TSP TCP/IP server.
stopServer() - Method in class demo.tsp.connections.tcpip.TspTcpIpServer
Stops the TSP TCP/IP server.

T

TIME_NOT_AVAILABLE - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of a timeNotAvailable failure
TIME_NOT_AVAILABLE_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a timeNotAvailable failure
TSA_MSG - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
DER-encoded TSA message
TSTInfo - class iaik.tsp.TSTInfo.
This class implements the TSP ASN.1 type TSTInfo as it is specified in RFC 3161.
TSTInfo() - Constructor for class iaik.tsp.TSTInfo
Default constructor.
TSTInfo(ObjectID, MessageImprint, BigInteger, Date) - Constructor for class iaik.tsp.TSTInfo
To create a new TSTInfo object a PolicyInformation object, a MessageImprint object, a serial number and a generalized time must be provided.
TSTInfo(ASN1Object) - Constructor for class iaik.tsp.TSTInfo
This constructor tries to reconstruct a TSTInfo object from the given ASN.1 structure.
TimeStampReq - class iaik.tsp.TimeStampReq.
This class implements the TSP ASN.1 type TimeStampReq as it is specified in RFC 3161.
TimeStampReq() - Constructor for class iaik.tsp.TimeStampReq
Constructs an empty TimeStampReq object.
TimeStampReq(MessageImprint) - Constructor for class iaik.tsp.TimeStampReq
To construct a new TimeStampReq object a MessageImprint object must be provided.
TimeStampReq(ASN1Object) - Constructor for class iaik.tsp.TimeStampReq
This constructor tries to reconstruct a TimeStampReq object from the given ASN.1 structure.
TimeStampReq(byte[]) - Constructor for class iaik.tsp.TimeStampReq
This constructor generates a TimeStampReq object from an encoded ASN.1 object.
TimeStampResp - class iaik.tsp.TimeStampResp.
This class implements the TSP ASN.1 type TimeStampResp as it is specified in RFC 3161.
TimeStampResp() - Constructor for class iaik.tsp.TimeStampResp
 
TimeStampResp(PKIStatusInfo) - Constructor for class iaik.tsp.TimeStampResp
To construct a new TimeStampResp object with a PKIStatusInfo object.
TimeStampResp(ASN1Object) - Constructor for class iaik.tsp.TimeStampResp
This constructor tries to reconstruct a TimeStampResp object from the given ASN.1 structure.
TimeStampResp(byte[]) - Constructor for class iaik.tsp.TimeStampResp
This constructor generates a TimeStampResp object from an encoded ASN.1 object.
TimeStampToken - class iaik.tsp.TimeStampToken.
This class implements the TSP ASN.1 type TimeStampToken as it is specified in RFC 3161.
TimeStampToken(TSTInfo) - Constructor for class iaik.tsp.TimeStampToken
Creates a TimeStampToken object.
TimeStampToken(ASN1Object) - Constructor for class iaik.tsp.TimeStampToken
Creates a TimeStampToken from the given ASN.1 Object.
TimeStampToken(byte[]) - Constructor for class iaik.tsp.TimeStampToken
Creates a TimeStampToken from an encoded ASN.1 Object.
TspClientSocket - class iaik.tsp.transport.tcpip.TspClientSocket.
This class extends the Socket to provide sending and
receiving of TimeStampReq and TimeStampResp.
TspClientSocket(String, int, int) - Constructor for class iaik.tsp.transport.tcpip.TspClientSocket
Creates a new TspClientSocket and connects it to the specified port number on the named host.
TspException - exception iaik.tsp.TspException.
This is the general TSP exception class, which serves to group all the exception classes of the iaik.tsp package.
TspException() - Constructor for class iaik.tsp.TspException
Creates a TspException with no message describing the exception.
TspException(String) - Constructor for class iaik.tsp.TspException
Creates a TspException with the given message describing this particular exception.
TspHttpClient - class iaik.tsp.transport.http.TspHttpClient.
This class provides sending and receiving of TimeStampReq and TimeStampResp over HTTP.

For each instance of TspHttpClient the method sendRequest can be invoked only once!

This client also supports HTTPS Connections.
TspHttpClient(URL) - Constructor for class iaik.tsp.transport.http.TspHttpClient
Creates a new TspHttpClient and opens a connection to the desired host.
TspHttpConstants - interface iaik.tsp.transport.http.TspHttpConstants.
This interface provides constants that will be needed for an HTTP server/client.
TspHttpResponse - class iaik.tsp.transport.http.TspHttpResponse.
Wrapper class for the supported response formats of a HTTP request.
TspHttpResponse(TimeStampResp) - Constructor for class iaik.tsp.transport.http.TspHttpResponse
Creates a TspHttpResponse containing a TimeStampResp.
TspHttpResponse(int, String) - Constructor for class iaik.tsp.transport.http.TspHttpResponse
Creates a TspHttpResponse representing an HTTP error.
TspHttpServerServlet - class demo.tsp.connections.http.TspHttpServerServlet.
This demo class extends the HttpServlet.
After receiving and verifying a TimeStampReq the servlet answers with a TimeStampResp or a HTTP error.
TspHttpServerServlet() - Constructor for class demo.tsp.connections.http.TspHttpServerServlet
 
TspSSLClient - class demo.tsp.connections.ssl.TspSSLClient.
This class implements the TSP TCP/IP client connection over SSL.
TspSSLClient(String, int) - Constructor for class demo.tsp.connections.ssl.TspSSLClient
Initialize a client socket with the given URL and port number.
TspSSLClientSocket - class iaik.tsp.transport.ssl.TspSSLClientSocket.
This class extends the SSLSocket to provide sending and
receiving of TimeStampReq and TimeStampResp over SSL.
TspSSLClientSocket(String, int, int, SSLContext) - Constructor for class iaik.tsp.transport.ssl.TspSSLClientSocket
Creates a new TspSSLClientSocket and connects it to the specified port number on the named host.
TspSSLServer - class demo.tsp.connections.ssl.TspSSLServer.
This class implements a TSP TCP/IP server.
TspSSLServer(String) - Constructor for class demo.tsp.connections.ssl.TspSSLServer
Creates a new TspTcpIpServer.
TspSSLServerThread - class demo.tsp.connections.ssl.TspSSLServerThread.
This demo class implements a TSP TCPI/IP server thread.
This thread reads a TimeStampReq and returns a TimeStampResp.
TspSSLServerThread(Socket, int, TspSSLServer) - Constructor for class demo.tsp.connections.ssl.TspSSLServerThread
Creates a new TspTcpIpServerThread.
TspServerConfiguration - class demo.tsp.config.TspServerConfiguration.
This demo class provides the configuration of a TspServer.
TspServerConfiguration() - Constructor for class demo.tsp.config.TspServerConfiguration
Default constructor
TspServerConfigurationException - exception demo.tsp.config.TspServerConfigurationException.
This exception will be used if an error occurs during configuration loading.
TspServerConfigurationException() - Constructor for class demo.tsp.config.TspServerConfigurationException
Constructs an Exception with no specified detail message.
TspServerConfigurationException(String) - Constructor for class demo.tsp.config.TspServerConfigurationException
Constructs an Exception with the specified detail message.
TspSigningException - exception iaik.tsp.TspSigningException.
Thrown if an exception occurs during TimeStampToken signing.
TspSigningException() - Constructor for class iaik.tsp.TspSigningException
Default constructor for creating a TspSigningException.
TspSigningException(String) - Constructor for class iaik.tsp.TspSigningException
Creates a TspSigningException with the given message.
TspTcpIpClient - class demo.tsp.connections.tcpip.TspTcpIpClient.
This class implements the TSP TCP/IP client connection.
TspTcpIpClient(String, int) - Constructor for class demo.tsp.connections.tcpip.TspTcpIpClient
Initializes a client socket with the given URL and port number.
TspTcpIpConstants - interface iaik.tsp.transport.tcpip.TspTcpIpConstants.
This interface provides constants that will be needed for a TCP/IP connection.
TspTcpIpFormatException - exception iaik.tsp.transport.tcpip.TspTcpIpFormatException.
Exception class for TSA TCP/IP format error.
TspTcpIpFormatException() - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpFormatException
Creates a TsaTcpIpFormatException with no message describing the exception.
TspTcpIpFormatException(String) - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpFormatException
Creates a TsaTcpIpFormatException with the given message describing this particular exception.
TspTcpIpProtocol - class iaik.tsp.transport.tcpip.TspTcpIpProtocol.
Class which implements the TCP/IP based protocol as it is specified in RFC 3161.
TspTcpIpProtocol() - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpProtocol
 
TspTcpIpResponse - class iaik.tsp.transport.tcpip.TspTcpIpResponse.
Wrapper class for the supported response formats finalMsgRep and errorMsgRep.
TspTcpIpResponse(TimeStampResp) - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpResponse
Creates a TspHttpResponse containing a TimeStampResp.
TspTcpIpResponse(String) - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpResponse
Creates a TspHttpResponse representing an errorMsgRep.
TspTcpIpServer - class demo.tsp.connections.tcpip.TspTcpIpServer.
This class implements a TSP TCP/IP server.
TspTcpIpServer(String) - Constructor for class demo.tsp.connections.tcpip.TspTcpIpServer
Creates a new TspTcpIpServer.
TspTcpIpServerThread - class demo.tsp.connections.tcpip.TspTcpIpServerThread.
This demo class implements a TSP TCP/IP server thread.
TspTcpIpServerThread(Socket, int, TspTcpIpServer) - Constructor for class demo.tsp.connections.tcpip.TspTcpIpServerThread
Creates a new TspTcpIpServerThread.
TspVerificationException - exception iaik.tsp.TspVerificationException.
Thrown if an exception occurs during TimeStampToken verifying.
TspVerificationException() - Constructor for class iaik.tsp.TspVerificationException
Default constructor for creating a TspVerificationException.
TspVerificationException(String) - Constructor for class iaik.tsp.TspVerificationException
Creates a TspVerificationException with the given message.
testFailureInfoBounds(String) - Method in class iaik.tsp.PKIFailureInfo
This method checks if the given value is TSP conform.
testStatusBounds(int) - Method in class iaik.tsp.PKIStatus
This method checks if the given value is TSP conform.
toASN1Object() - Method in class iaik.tsp.Accuracy
Returns the ASN.1 structure of the Accuracy object.
toASN1Object() - Method in class iaik.tsp.MessageImprint
Returns the ASN.1 structure of the MessageImprint object.
toASN1Object() - Method in class iaik.tsp.PKIFailureInfo
Returns the ASN.1 structure of the PKIFailureInfo object.
toASN1Object() - Method in class iaik.tsp.PKIFreeText
Returns the ASN.1 structure of the PKIFreeText object.
toASN1Object() - Method in class iaik.tsp.PKIStatus
Returns the ASN.1 structure of the PKIStatus object.
toASN1Object() - Method in class iaik.tsp.PKIStatusInfo
Returns the ASN.1 structure of the PKIStatusInfo object.
toASN1Object() - Method in class iaik.tsp.TSTInfo
Returns the ASN.1 structure of the TSTInfo object.
toASN1Object() - Method in class iaik.tsp.TimeStampReq
Returns the ASN.1 structure of the TimeStampReq object.
toASN1Object() - Method in class iaik.tsp.TimeStampResp
Returns the ASN.1 structure of the TimeStampResp object.
toString() - Method in class iaik.tsp.Accuracy
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.MessageImprint
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.PKIFailureInfo
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.PKIFreeText
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.PKIStatus
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.PKIStatusInfo
This method returns a string representation of this object.
toString(boolean) - Method in class iaik.tsp.TSTInfo
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.TSTInfo
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.TimeStampReq
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.TimeStampResp
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.TimeStampToken
This method returns a string representation of this object.
toString() - Method in class iaik.tsp.transport.http.TspHttpResponse
Returns a string representation of this response.
toString() - Method in class iaik.tsp.transport.tcpip.TspTcpIpResponse
Returns a string representation of this response.

U

UNACCEPTED_EXTENSION - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of an unacceptedExtension failure
UNACCEPTED_EXTENSION_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a unacceptedExtension failure
UNACCEPTED_POLICY - Static variable in class iaik.tsp.PKIFailureInfo
The bit string representation of an unacceptedPolicy failure
UNACCEPTED_POLICY_TEXT - Static variable in class iaik.tsp.PKIFailureInfo
The message sent for a unacceptedPolicy failure

V

verifyTimeStampToken(X509Certificate) - Method in class iaik.tsp.TimeStampToken
This method verifies the signature of the TimeStampToken.

W

WAITING - Static variable in class iaik.tsp.PKIStatus
The PKIStatus waiting (3)
WAITING_TEXT - Static variable in class iaik.tsp.PKIStatus
The message for the PKIStatus waiting (3)

A B C D E F G I L M N P R S T U V W
This Javadoc may contain text parts from IETF Internet Standard specifications (see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note).

IAIK TSP, © 2002-2004 IAIK, © 2004 Stiftung SIC