summaryrefslogtreecommitdiffstats
path: root/bcprov/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java
blob: 71a2cab0f2e6e5682768f5a35cea6bd36a5593b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.bouncycastle.crypto.tls;

import java.io.IOException;

public class AbstractTlsCipherFactory
    implements TlsCipherFactory
{
    public TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)
        throws IOException
    {
        throw new TlsFatalAlert(AlertDescription.internal_error);
    }
}