diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java b/src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java index f3ec0489..2b615076 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java +++ b/src/main/java/org/bouncycastle/crypto/tls/TlsSigner.java @@ -4,11 +4,13 @@ import org.bouncycastle.crypto.CryptoException; import org.bouncycastle.crypto.Signer; import org.bouncycastle.crypto.params.AsymmetricKeyParameter; -public interface TlsSigner { +public interface TlsSigner +{ void init(TlsContext context); - byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) throws CryptoException; + byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) + throws CryptoException; boolean verifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1) throws CryptoException; |