Searched refs:sigBytes (Results 1 – 9 of 9) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSignatureRawRSA.java | 157 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument 169 if (sigBytes.length > inputBuffer.length) { in engineVerify() 170 throw new SignatureException("Input signature length is too large: " + sigBytes.length in engineVerify() 178 resultSize = NativeCrypto.RSA_public_decrypt(sigBytes.length, sigBytes, in engineVerify()
|
D | OpenSSLSignatureRawECDSA.java | 115 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument 123 NativeCrypto.ECDSA_verify(buffer.toByteArray(), sigBytes, key.getNativeRef()); in engineVerify()
|
D | OpenSSLSignature.java | 246 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument 249 return NativeCrypto.EVP_DigestVerifyFinal(ctxLocal, sigBytes, 0, sigBytes.length); in engineVerify()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | DSABase.java | 67 byte[] sigBytes) in engineVerify() argument 78 sig = encoder.decode(sigBytes); in engineVerify()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | DigestSignatureSpi.java | 156 byte[] sigBytes) in engineVerify() argument 168 sig = cipher.processBlock(sigBytes, 0, sigBytes.length); in engineVerify()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | SignerInfoGenerator.java | 220 byte[] sigBytes = signer.getSignature(); in generate() 226 parameters.put(CMSAttributeTableGenerator.SIGNATURE, Arrays.clone(sigBytes)); in generate() 234 signedAttr, digestEncryptionAlgorithm, new DEROctetString(sigBytes), unsignedAttr); in generate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | DSASigner.java | 139 byte[] sigBytes) in engineVerify() argument 150 sig = derDecode(sigBytes); in engineVerify()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 1034 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument 1035 return delegate.verify(sigBytes); in engineVerify()
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 2636 ScopedByteArrayRO sigBytes(env, signature); in NativeCrypto_EVP_DigestVerifyFinal() local 2637 if (sigBytes.get() == nullptr) { in NativeCrypto_EVP_DigestVerifyFinal() 2641 if (ARRAY_OFFSET_LENGTH_INVALID(sigBytes, offset, len)) { in NativeCrypto_EVP_DigestVerifyFinal() 2646 const unsigned char *sigBuf = reinterpret_cast<const unsigned char *>(sigBytes.get()); in NativeCrypto_EVP_DigestVerifyFinal()
|