Class SslTransport
  
  
  
  
    Inheritance
    System.Object
    
    SslTransport
   
  
    Implements
    
    Apache.NMS.IStartable
    System.IDisposable
    Apache.NMS.IStoppable
   
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: Apache.NMS.ActiveMQ.dll
  Syntax
  
    public class SslTransport : TcpTransport, ITransport, IStartable, IDisposable, IStoppable
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public SslTransport(Uri location, Socket socket, IWireFormat wireFormat)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Uri | location |  | 
      
        | System.Net.Sockets.Socket | socket |  | 
      
        | IWireFormat | wireFormat |  | 
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AcceptInvalidBrokerCert
  Indicates if the SslTransport should ignore any errors in the supplied Broker
certificate and connect anyway, this is useful in testing with a default AMQ
broker certificate that is self signed.
Declaration
  
    public bool AcceptInvalidBrokerCert { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  BrokerCertFilename
  Indicates the location of the Broker Certificate to use when the Broker
is using a self-signed certificate.
Declaration
  
    public string BrokerCertFilename { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ClientCertFilename
  Indicates the location of the Client Certificate to use when the Broker
is configured for Client Auth (not common).  The SslTransport will supply
this certificate to the SslStream via the SelectLocalCertificate method.
Declaration
  
    public string ClientCertFilename { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ClientCertPassword
  Password for the Client Certificate specified via configuration.
Declaration
  
    public string ClientCertPassword { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ClientCertSubject
  
  
  Declaration
  
    public string ClientCertSubject { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  KeyStoreLocation
  
  
  Declaration
  
    public string KeyStoreLocation { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  KeyStoreName
  
  
  Declaration
  
    public string KeyStoreName { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ServerName
  Indicates the name of the Server's Certificate.  By default the Host name
of the remote server is used, however if this doesn't match the name of the
Server's certificate then this option can be set to override the default.
Declaration
  
    public string ServerName { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SslProtocol
  
  
  Declaration
  
    public string SslProtocol { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CreateSocketStream()
  
  
  Declaration
  
    protected override Stream CreateSocketStream()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.IO.Stream |  | 
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Finalize()
  
  
  Declaration
  
    protected void Finalize()
   
  Implements
  
  
      Apache.NMS.IStartable
  
  
      System.IDisposable
  
  
      Apache.NMS.IStoppable