ServerOnlyTlsAuthentication (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.crypto.tls

## Class ServerOnlyTlsAuthentication

- java.lang.Object
- - org.bouncycastle.crypto.tls.ServerOnlyTlsAuthentication

- All Implemented Interfaces:
    TlsAuthentication

      public abstract class ServerOnlyTlsAuthentication
      extends java.lang.Object
      implements TlsAuthentication

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerOnlyTlsAuthentication()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TlsCredentials` | `getClientCredentials(CertificateRequest certificateRequest)` Return client credentials in response to server's certificate request

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.bouncycastle.crypto.tls.TlsAuthentication

      `notifyServerCertificate`

- - ### Constructor Detail

    - #### ServerOnlyTlsAuthentication

          public ServerOnlyTlsAuthentication()

  - ### Method Detail

    - #### getClientCredentials

          public final TlsCredentials getClientCredentials(CertificateRequest certificateRequest)

      Description copied from interface: `TlsAuthentication`
      Return client credentials in response to server's certificate request
      Specified by:
        `getClientCredentials` in interface `TlsAuthentication`
      Parameters:
        `certificateRequest` - details of the certificate request
      Returns:
        a TlsCredentials object or null for no client authentication