equal
deleted
inserted
replaced
562 super(context); |
562 super(context); |
563 |
563 |
564 // This happens in client side only. |
564 // This happens in client side only. |
565 ClientHandshakeContext chc = (ClientHandshakeContext)context; |
565 ClientHandshakeContext chc = (ClientHandshakeContext)context; |
566 this.signatureScheme = SignatureScheme.getPreferableAlgorithm( |
566 this.signatureScheme = SignatureScheme.getPreferableAlgorithm( |
|
567 chc.algorithmConstraints, |
567 chc.peerRequestedSignatureSchemes, |
568 chc.peerRequestedSignatureSchemes, |
568 x509Possession, |
569 x509Possession, |
569 chc.negotiatedProtocol); |
570 chc.negotiatedProtocol); |
570 if (signatureScheme == null) { |
571 if (signatureScheme == null) { |
571 // Unlikely, the credentials generator should have |
572 // Unlikely, the credentials generator should have |
863 T13CertificateVerifyMessage(HandshakeContext context, |
864 T13CertificateVerifyMessage(HandshakeContext context, |
864 X509Possession x509Possession) throws IOException { |
865 X509Possession x509Possession) throws IOException { |
865 super(context); |
866 super(context); |
866 |
867 |
867 this.signatureScheme = SignatureScheme.getPreferableAlgorithm( |
868 this.signatureScheme = SignatureScheme.getPreferableAlgorithm( |
|
869 context.algorithmConstraints, |
868 context.peerRequestedSignatureSchemes, |
870 context.peerRequestedSignatureSchemes, |
869 x509Possession, |
871 x509Possession, |
870 context.negotiatedProtocol); |
872 context.negotiatedProtocol); |
871 if (signatureScheme == null) { |
873 if (signatureScheme == null) { |
872 // Unlikely, the credentials generator should have |
874 // Unlikely, the credentials generator should have |