SciSslContext has the following instance methods:Answers a new SciSslContext with TLS set as the default SSL method.Sets the context's certificate to be the supplied SciSslX509Certificate object.Sets the context's certificate chain to be the certificate(s) found in aCertificateChainFilename.Sets the context's certificate to be the certificate found in anX509CertificateFilename.The file anX509CertificateFilename must be in PEM format.Sets the context's ordered SSL cipher preference list. The interpretation of cipherListString is implementation defined.
For OpenSSL, this is a constraint-based string which is enumerated in the OpenSSL documentation.
An example is 'ALL:!ADH:@STRENGTH' which says "Include all ciphers except NULL and anonymous DH and then sort these by strength.Clears the options set via bitmask from the context. These options are implementation defined.
For OpenSSL, see all constants starting with SSL_OP in the SciSslConstants pool dictionary.Removes sessions that are expired at the time defined by expirationTimeObjectRemoves the session anSciSslSession from the context's session cache.
|