aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java
blob: affc116e41253ac4025a4e1349fc985f7dfac4d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.spongycastle.crypto.tls.test;

import java.io.IOException;

import org.spongycastle.crypto.tls.DefaultTlsClient;
import org.spongycastle.crypto.tls.TlsAuthentication;

public class TestTlsClient
    extends DefaultTlsClient
{
    private final TlsAuthentication authentication;

    TestTlsClient(TlsAuthentication authentication)
    {
        this.authentication = authentication;
    }

    public TlsAuthentication getAuthentication()
        throws IOException
    {
        return authentication;
    }
}