示例#1
0
        // SetSessionCacheMode(nn::ssl::sf::SessionCacheMode)
        public ResultCode SetSessionCacheMode(ServiceCtx context)
        {
            SessionCacheMode sessionCacheMode = (SessionCacheMode)context.RequestData.ReadUInt32();

            Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { sessionCacheMode });

            return(ResultCode.Success);
        }
示例#2
0
 public ISslConnection(ulong processId, SslVersion sslVersion)
 {
     _processId        = processId;
     _sslVersion       = sslVersion;
     _ioMode           = IoMode.Blocking;
     _sessionCacheMode = SessionCacheMode.None;
     _verifyOption     = VerifyOption.PeerCa | VerifyOption.HostName;
 }