| Package | Description | 
|---|---|
| be.SIRAPRISE.client | 
 This package contains all the classes and interfaces that can be useful on the client side of an application involving SIRA_PRISE. 
 | 
| be.SIRAPRISE.messages | 
 This package contains the classes that define/implement the various message types that can be sent to and received from a SIRA_PRISE server. 
 | 
| be.SIRAPRISE.util | 
 This package contains various utility methods. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Version | 
DBConnection.getSpecificationVersionForServer()
Gets The specification version to use in communications with the server 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Version | 
ClientHelloMessage.getClientSiraPriseVersion()
Gets The Version that the client declares to be able to handle 
 | 
Version | 
ServerMessageTypes.getThisPackagesSiraPriseVersion()
Gets The specification version that this package corresponds to 
 | 
Version | 
ServerHelloMessage.getVersion()
Gets The SIRA_PRISE version to use when deciding what message versions to send/interpret 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServerMessageType | 
ServerMessageTypes.getServerMessageTypeForSiraPriseVersion(int messageType,
                                       Version siraPriseVersion)
Gets The ServerMessageType of the indicated type that was used in the indicated SIRA_PRISE specification version 
 | 
ClientHelloMessage | 
ClientHelloMessageTypeV1_0.message(java.util.Set<java.lang.String> signatureAlgorithmNames,
       java.util.Set<java.lang.String> encryptionProtocolNames,
       long requestConnectionIdleTime,
       Version version,
       java.lang.String clientID)  | 
abstract ClientHelloMessage | 
ClientHelloMessageType.message(java.util.Set<java.lang.String> signatureAlgorithmNames,
       java.util.Set<java.lang.String> encryptionProtocolNames,
       long requestConnectionIdleTime,
       Version version,
       java.lang.String clientID)
Factory method for creating instances of ClientHello messages of some particular version of the CLientHello messagetype 
 | 
ServerHelloMessage | 
ServerHelloMessageTypeV1_0.message(java.lang.String signatureName,
       java.lang.String cipherName,
       long idleTime,
       Version clientSiraPriseVersion,
       java.util.Set<java.lang.String> alternativeSigningProtocols,
       byte[] challenge,
       byte[] cipherInfo,
       java.lang.String cipherInfoCipherName)  | 
abstract ServerHelloMessage | 
ServerHelloMessageType.message(java.lang.String signatureName,
       java.lang.String cipherName,
       long idleTime,
       Version clientSiraPriseVersion,
       java.util.Set<java.lang.String> alternativeSigningProtocols,
       byte[] challenge,
       byte[] cipherInfo,
       java.lang.String cipherInfoCipherName)
Factory method to produce a ServerHello message of this version of the message type 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static Version | 
Version.ONE_FIVE  | 
static Version | 
Version.ONE_FOUR  | 
static Version | 
Version.ONE_ONE  | 
static Version | 
Version.ONE_THREE  | 
static Version | 
Version.ONE_TWO  | 
static Version | 
Version.ONE_ZERO
in order to not have to create identical object within each message type 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Version | 
Version.getLowest(Version otherVersion)
Compares two SIRA_PRISE Version indicators and returns the lowest (which is the one whose spec can be expected to define the functionality that the two versions have in common). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
Version.compareTo(Version o)  | 
static java.lang.String | 
EntityRefs.fromHtml(java.lang.String string,
        Version htmlVersion)
Processes the input string and replaces all appearances of entity references that are valid under the htmlVersion specified with their actual codepoint value. 
 | 
static java.lang.String | 
EntityRefs.fromXHtml(java.lang.String string,
         Version xhtmlVersion)
Processes the input string and replaces all appearances of entity references that are valid under the htmlVersion specified with their actual codepoint value. 
 | 
Version | 
Version.getLowest(Version otherVersion)
Compares two SIRA_PRISE Version indicators and returns the lowest (which is the one whose spec can be expected to define the functionality that the two versions have in common). 
 | 
boolean | 
Version.isAtLeast(Version otherVersion)
Checks whether this version indicates a version that is at least (i.e the same, or later than) the one indicated by the given arguments 
 | 
boolean | 
Version.isBefore(Version otherVersion)
Checks if this Version object designates an earlier version than the other one 
 |