Allow sha1 to be used in TLS signature algorithms
@@ -253,7 +253,7 @@ public class ClientCertDefaultTlsClient extends DefaultTlsClient implements Clie
protected Vector getSupportedSignatureAlgorithms() {
TlsCrypto crypto = context.getCrypto();
short[] hashAlgorithms = new short[]{HashAlgorithm.sha512, HashAlgorithm.sha384, HashAlgorithm.sha256,
- HashAlgorithm.sha224};
+ HashAlgorithm.sha224, HashAlgorithm.sha1};
short[] signatureAlgorithms = new short[]{ SignatureAlgorithm.rsa, SignatureAlgorithm.ecdsa };
Vector result = new Vector();
