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

A

Accuracy - Class in iaik.tsp
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.
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
addSha1ESSCertID(boolean) - Method in class iaik.tsp.TimeStampToken
Whether to also include a SHA-1 based ESSCertID if an ESSCertIDv2 is used with another hash algorithm according to RFC 5816.
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

calculateHash(byte[], AlgorithmID) - Static method in class iaik.tsp.MessageImprint
This method calculates the hash value of the given data.
checkKeyUsage(X509Certificate) - Method in class iaik.tsp.TimeStampToken
This method checks the ExtendedKeyUsage and KeyUsage extensions of the TSA responder certificate.
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.
ConfigurationURL - Static variable in class demo.tsp.config.TspServerConfiguration
Default Configuration URL.
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.

D

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.
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.http.TspHttpClientDemo
The url of the default tsa 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
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.

E

equals(Object) - Method in class iaik.tsp.MessageImprint
Compare two MessageImprint objects.
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)

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

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.
getAddSha1CertID() - Method in class demo.tsp.config.TspServerConfiguration
Returns whether to also include SHA-1 ESSCertID if ESSCertIDv2 is used with another hash algorithm.
getBlockSize() - Method in class iaik.tsp.TSTInfo
This method has no effect and is only provided to fully implement the iaik.cms.Content interface.
getCertID() - Method in class iaik.tsp.TimeStampToken
Returns the certificate identifier of the signer certificate, or null if not present.
getCertIDv2() - Method in class iaik.tsp.TimeStampToken
Returns the ESSCertIDv2 certificate identifier of an SigningCertificateV2 attribute, or null if not present.
getCertificates() - Method in class iaik.tsp.TimeStampToken
Returns the included X509 certificates or null.
getCertReq() - Method in class iaik.tsp.TimeStampReq
Returns if a certificate is requested or not.
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.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.
getEncoded() - Method in class iaik.tsp.TSTInfo
This method DER encodes the ASN.1 TSTInfo 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.TimeStampReq
Returns the X509Extensions object.
getExtensions() - Method in class iaik.tsp.TSTInfo
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.
getIssuerSerialv2() - Method in class iaik.tsp.TimeStampToken
Returns the ESSIssuerSerial of an SigningCertificateV2/ESSCertIDv2 attribute, if present.
getMaxTimeOut() - Method in class demo.tsp.config.TspServerConfiguration
Returns the time out of the socket.
getMessageImprint() - Method in class iaik.tsp.TimeStampReq
Returns the MessageImprint object.
getMessageImprint() - Method in class iaik.tsp.TSTInfo
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.TimeStampReq
Returns the nonce number.
getNonce() - Method in class iaik.tsp.TSTInfo
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.
getSignatureAlgorithm() - Method in class demo.tsp.config.TspServerConfiguration
Returns the signature algorithm to be used for signing.
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.
getStatusString() - Method in class iaik.tsp.PKIStatus
This method returns the status code as String.
getStringAt(int) - Method in class iaik.tsp.PKIFreeText
This method returns the string at the specified index.
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.
getTSACertChain() - Method in class demo.tsp.config.TspServerConfiguration
Returns the certificate chain of the TSA containing the TSA cert at index 0.
getTSAPolicyID() - Method in class iaik.tsp.TimeStampReq
Returns the PolicyInformation object.
getTSAPolicyID() - Method in class iaik.tsp.TSTInfo
Returns the PolicyInformation object.
getTSTInfo() - Method in class iaik.tsp.TimeStampToken
Returns the TSTInfo object.
getVersion() - Method in class iaik.tsp.TimeStampReq
Returns the TSP version.
getVersion() - Method in class iaik.tsp.TSTInfo
Returns the version of the implemented TSP.
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)

H

hashCode() - Method in class iaik.tsp.MessageImprint
Returns a hash code of this MessageImprint.

I

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.
ID_CT_TSTINFO - Static variable in class iaik.tsp.TSTInfo
The ObjectID of this object
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.
isRunning() - Method in class demo.tsp.connections.ssl.TspSSLServer
Checks if the server is running.
isRunning() - Method in class demo.tsp.connections.tcpip.TspTcpIpServer
Checks if the server is running.
isSigningCertificate(X509Certificate) - Method in class iaik.tsp.TimeStampToken
Checks whether the supplied certificate actually is the certificate of the signer.
ISSUER_AND_SERIALNUMBER - Static variable in class iaik.tsp.TimeStampToken
The CMS certificate identifier type IssuerAndSerialNumber.

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.TspHttpClientDemo
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

main(String[]) - Static method in class demo.tsp.connections.http.TspHttpClientDemo
Creates a time stamp request and sends it to the specified server.
main(String[]) - Static method in class demo.tsp.connections.ssl.TspSSLClient
Creates a time stamp request and sends it to the specified server.
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.
main(String[]) - Static method in class demo.tsp.connections.tcpip.TspTcpIpServer
Main class for a TspTcpIpServer.
MESSAGE - Static variable in class demo.tsp.connections.http.TspHttpClientDemo
Message to be time stamped
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 in iaik.tsp
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.

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 in iaik.tsp
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 in iaik.tsp
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 in iaik.tsp
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 in iaik.tsp
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

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.
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)
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

sendAndReceiveData(TimeStampReq) - Method in class demo.tsp.connections.http.TspHttpClientDemo
This method sends a TimeStampReq to the specified time stamping server.
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.
setCertificates(X509Certificate[]) - Method in class iaik.tsp.TimeStampToken
Sets the CertificateChain for signing.
setCertReq(boolean) - Method in class iaik.tsp.TimeStampReq
This method sets or resets a certificate request.
setCheckKeyUsage(boolean) - Static method in class iaik.tsp.TimeStampToken
Decides whether to check the ExtendedKeyUsage and KeyUsage extensions of the TSA responder certificate when verifying the signature of the time stamp token.
setExtensions(X509Extensions) - Method in class iaik.tsp.TimeStampReq
This method sets a new X509Extensions object.
setExtensions(X509Extensions) - Method in class iaik.tsp.TSTInfo
This method sets the X509Extensions.
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.TimeStampReq
This method sets a new MessageImprint object.
setMessageImprint(MessageImprint) - Method in class iaik.tsp.TSTInfo
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.TimeStampReq
This method sets a new nonce number.
setNonce(BigInteger) - Method in class iaik.tsp.TSTInfo
This method sets the nonce field.
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.
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.
setTSAPolicyID(ObjectID) - Method in class iaik.tsp.TimeStampReq
This method sets a new PolicyInformation object.
setTSAPolicyID(ObjectID) - Method in class iaik.tsp.TSTInfo
This method sets a new PolicyInformation object.
signTimeStampToken(String, AlgorithmID, int) - Method in class iaik.tsp.TimeStampToken
This method signs the TimeStampToken.
signTimeStampToken(String, AlgorithmID, int, Attribute[], Attribute[]) - 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.
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

T

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.
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
TimeStampReq - Class in iaik.tsp
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 in iaik.tsp
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 in iaik.tsp
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.
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.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.
toASN1Object() - Method in class iaik.tsp.TSTInfo
Returns the ASN.1 structure of the TSTInfo 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() - 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.
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.
TSA_MSG - Static variable in interface iaik.tsp.transport.tcpip.TspTcpIpConstants
TSP TCP/IP message flag:
DER-encoded TSA message
TspClientSocket - Class in iaik.tsp.transport.tcpip
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.
TspClientSocket(Proxy) - Constructor for class iaik.tsp.transport.tcpip.TspClientSocket
Creates a new TspClientSocket and connects it to the specified port number on the named host via the given Proxy.
TspException - Exception in iaik.tsp
This is the general TSP exception class, which serves to group all the exception classes of the iaik.tsp package.
TspException() - Constructor for exception iaik.tsp.TspException
Creates a TspException with no message describing the exception.
TspException(String) - Constructor for exception iaik.tsp.TspException
Creates a TspException with the given message describing this particular exception.
TspHttpClient - Class in iaik.tsp.transport.http
This class provides sending and receiving of TimeStampReq and TimeStampResp over HTTP.
TspHttpClient(URL) - Constructor for class iaik.tsp.transport.http.TspHttpClient
Creates a new TspHttpClient and opens a connection to the desired host.
TspHttpClient(HttpURLConnection) - Constructor for class iaik.tsp.transport.http.TspHttpClient
Creates a new TspHttpClient to get a time stamp from a time stamp server connected with the given HttpURLConnection.
TspHttpClientDemo - Class in demo.tsp.connections.http
This class implements a TSP HTTP client connection.
TspHttpClientDemo(String) - Constructor for class demo.tsp.connections.http.TspHttpClientDemo
Initializes the TSP http client with the given URL.
TspHttpConstants - Interface in iaik.tsp.transport.http
This interface provides constants that will be needed for an HTTP server/client.
TspHttpResponse - Class in iaik.tsp.transport.http
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 in demo.tsp.connections.http
This demo class extends the HttpServlet.
TspHttpServerServlet() - Constructor for class demo.tsp.connections.http.TspHttpServerServlet
 
TspServerConfiguration - Class in demo.tsp.config
This demo class provides the configuration of a TspServer.
TspServerConfiguration() - Constructor for class demo.tsp.config.TspServerConfiguration
Default constructor
TspServerConfigurationException - Exception in demo.tsp.config
This exception will be used if an error occurs during configuration loading.
TspServerConfigurationException() - Constructor for exception demo.tsp.config.TspServerConfigurationException
Constructs an Exception with no specified detail message.
TspServerConfigurationException(String) - Constructor for exception demo.tsp.config.TspServerConfigurationException
Constructs an Exception with the specified detail message.
TspSigningException - Exception in iaik.tsp
Thrown if an exception occurs during TimeStampToken signing.
TspSigningException() - Constructor for exception iaik.tsp.TspSigningException
Default constructor for creating a TspSigningException.
TspSigningException(String) - Constructor for exception iaik.tsp.TspSigningException
Creates a TspSigningException with the given message.
TspSSLClient - Class in demo.tsp.connections.ssl
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 in iaik.tsp.transport.ssl
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.
TspSSLClientSocket(Socket, 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 via the given proxy.
TspSSLServer - Class in demo.tsp.connections.ssl
This class implements a TSP TCP/IP server.
TspSSLServer(String) - Constructor for class demo.tsp.connections.ssl.TspSSLServer
Creates a new TspTcpIpServer.
TspSSLServerThread - Class in demo.tsp.connections.ssl
This demo class implements a TSP TCPI/IP server thread.
TspSSLServerThread(Socket, int, TspSSLServer) - Constructor for class demo.tsp.connections.ssl.TspSSLServerThread
Creates a new TspTcpIpServerThread.
TspTcpIpClient - Class in demo.tsp.connections.tcpip
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 in iaik.tsp.transport.tcpip
This interface provides constants that will be needed for a TCP/IP connection.
TspTcpIpFormatException - Exception in iaik.tsp.transport.tcpip
Exception class for TSA TCP/IP format error.
TspTcpIpFormatException() - Constructor for exception iaik.tsp.transport.tcpip.TspTcpIpFormatException
Creates a TsaTcpIpFormatException with no message describing the exception.
TspTcpIpFormatException(String) - Constructor for exception iaik.tsp.transport.tcpip.TspTcpIpFormatException
Creates a TsaTcpIpFormatException with the given message describing this particular exception.
TspTcpIpProtocol - Class in iaik.tsp.transport.tcpip
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 in iaik.tsp.transport.tcpip
Wrapper class for the supported response formats finalMsgRep and errorMsgRep.
TspTcpIpResponse(TimeStampResp) - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpResponse
Creates a TspTcpIpResponse containing a TimeStampResp.
TspTcpIpResponse(String) - Constructor for class iaik.tsp.transport.tcpip.TspTcpIpResponse
Creates a TspTcpIpResponse representing an errorMsgRep.
TspTcpIpServer - Class in demo.tsp.connections.tcpip
This class implements a TSP TCP/IP server.
TspTcpIpServer(String) - Constructor for class demo.tsp.connections.tcpip.TspTcpIpServer
Creates a new TspTcpIpServer.
TspTcpIpServerThread - Class in demo.tsp.connections.tcpip
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 in iaik.tsp
Thrown if an exception occurs during TimeStampToken verifying.
TspVerificationException() - Constructor for exception iaik.tsp.TspVerificationException
Default constructor for creating a TspVerificationException.
TspVerificationException(String) - Constructor for exception iaik.tsp.TspVerificationException
Creates a TspVerificationException with the given message.
TSTInfo - Class in iaik.tsp
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.

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.
verifyTimeStampToken() - Method in class iaik.tsp.TimeStampToken
This method verifies the signature of the TimeStampToken This method throws a CertificateNotFoundException if the certificate of the signing TSA is not included in this 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 H I L M N P R S T U V W
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK TSP, © 2002 IAIK, © 2003 - 2014 Stiftung SIC