aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/tls/AbstractTlsCipherFactory.java
blob: 755c7b7eb11ff6132a85d01aa706380bd2cc23a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.spongycastle.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);
    }
}