Home
last modified time | relevance | path

Searched refs:sigBytes (Results 1 – 9 of 9) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignatureRawRSA.java157 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()
DOpenSSLSignatureRawECDSA.java115 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument
123 NativeCrypto.ECDSA_verify(buffer.toByteArray(), sigBytes, key.getNativeRef()); in engineVerify()
DOpenSSLSignature.java246 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/
DDSABase.java67 byte[] sigBytes) in engineVerify() argument
78 sig = encoder.decode(sigBytes); in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java156 byte[] sigBytes) in engineVerify() argument
168 sig = cipher.processBlock(sigBytes, 0, sigBytes.length); in engineVerify()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInfoGenerator.java220 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/
DDSASigner.java139 byte[] sigBytes) in engineVerify() argument
150 sig = derDecode(sigBytes); in engineVerify()
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1034 protected boolean engineVerify(byte[] sigBytes) throws SignatureException { in engineVerify() argument
1035 return delegate.verify(sigBytes); in engineVerify()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp2636 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()