Searched defs:pubKey (Results 1 - 16 of 16) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DBasicAgreement.java20 public BigInteger calculateAgreement(CipherParameters pubKey); argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
H A DECDHBasicAgreement.java38 CipherParameters pubKey)
40 ECPublicKeyParameters pub = (ECPublicKeyParameters)pubKey;
37 calculateAgreement( CipherParameters pubKey) argument
H A DDHBasicAgreement.java55 CipherParameters pubKey)
57 DHPublicKeyParameters pub = (DHPublicKeyParameters)pubKey;
54 calculateAgreement( CipherParameters pubKey) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
H A DSubjectKeyIdentifierStructure.java32 PublicKey pubKey)
37 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded());
48 PublicKey pubKey)
51 super(fromPublicKey(pubKey));
31 fromPublicKey( PublicKey pubKey) argument
47 SubjectKeyIdentifierStructure( PublicKey pubKey) argument
H A DAuthorityKeyIdentifierStructure.java109 PublicKey pubKey)
115 (ASN1Sequence)new ASN1InputStream(pubKey.getEncoded()).readObject());
143 * @param pubKey the key to generate the hash from.
147 PublicKey pubKey)
150 super(fromKey(pubKey));
108 fromKey( PublicKey pubKey) argument
146 AuthorityKeyIdentifierStructure( PublicKey pubKey) argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
H A DJcaSimpleSignerInfoVerifierBuilder.java48 public SignerInformationVerifier build(PublicKey pubKey) argument
51 return new SignerInformationVerifier(new DefaultCMSSignatureAlgorithmNameGenerator(), new DefaultSignatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(pubKey), helper.createDigestCalculatorProvider());
H A DJcaSignerInfoVerifierBuilder.java78 public SignerInformationVerifier build(PublicKey pubKey) argument
81 return new SignerInformationVerifier(sigAlgNameGen, sigAlgIDFinder, helper.createContentVerifierProvider(pubKey), digestProvider);
/external/dropbear/libtomcrypt/testprof/
H A Dkatja_test.c8 katja_key key, privKey, pubKey; local
149 DO(katja_import(tmp, len2, &pubKey));
160 katja_free(&pubKey);
176 katja_free(&pubKey);
181 /* verify with pubKey */
184 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &pubKey));
187 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &pubKey));
192 katja_free(&pubKey);
197 /* sign a message (salted) now (use privKey to make, pubKey to verify) */
200 DO(katja_verify_hash(out, len, in, 20, hash_idx, 8, &stat, &pubKey));
[all...]
H A Decc_test.c113 ecc_key usera, userb, pubKey, privKey; local
193 DO(ecc_import(buf[0], x, &pubKey));
202 DO(ecc_encrypt_key (buf[0], 32, buf[1], &y, &yarrow_prng, find_prng ("yarrow"), find_hash ("sha256"), &pubKey));
222 DO(ecc_verify_hash (buf[1], x, buf[0], 16, &stat, &pubKey));
230 ecc_free (&pubKey);
H A Drsa_test.c128 rsa_key key, privKey, pubKey; local
288 DO(rsa_import(tmp, len2, &pubKey));
299 rsa_free(&pubKey);
315 rsa_free(&pubKey);
320 /* verify with pubKey */
323 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &pubKey));
326 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &pubKey));
331 rsa_free(&pubKey);
336 /* sign a message (salted) now (use privKey to make, pubKey to verify) */
339 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 8, &stat, &pubKey));
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java32 static PublicKey pubKey; field in class:IdentityScope2Test
35 pubKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic();
144 id.setPublicKey(pubKey);
148 id2.setPublicKey(pubKey);
163 id.setPublicKey(pubKey);
181 id.setPublicKey(pubKey);
194 id.setPublicKey(pubKey);
210 id.setPublicKey(pubKey);
212 Identity returnedId = sub.getIdentity(pubKey);
224 id.setPublicKey(pubKey);
[all...]
H A DIdentity2Test.java37 static PublicKey pubKey; field in class:Identity2Test
40 pubKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic();
185 sub.setPublicKey(pubKey);
187 assertEquals("Wrong PublicKey returned", pubKey, returnedPubKey);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
H A DPKCS10CertificationRequest.java513 PublicKey pubKey,
557 sig.initVerify(pubKey);
512 verify( PublicKey pubKey, String provider) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DBCECPrivateKey.java124 BCECPublicKey pubKey,
151 publicKey = getPublicKeyDetails(pubKey);
157 BCECPublicKey pubKey,
192 publicKey = getPublicKeyDetails(pubKey);
121 BCECPrivateKey( String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration) argument
154 BCECPrivateKey( String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, org.bouncycastle.jce.spec.ECParameterSpec spec, ProviderConfiguration configuration) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCEECPrivateKey.java115 JCEECPublicKey pubKey,
140 publicKey = getPublicKeyDetails(pubKey);
146 JCEECPublicKey pubKey,
179 publicKey = getPublicKeyDetails(pubKey);
112 JCEECPrivateKey( String algorithm, ECPrivateKeyParameters params, JCEECPublicKey pubKey, ECParameterSpec spec) argument
143 JCEECPrivateKey( String algorithm, ECPrivateKeyParameters params, JCEECPublicKey pubKey, org.bouncycastle.jce.spec.ECParameterSpec spec) argument
H A DJDKPKCS12KeyStore.java184 PublicKey pubKey)
189 (ASN1Sequence) ASN1Primitive.fromByteArray(pubKey.getEncoded()));
183 createSubjectKeyId( PublicKey pubKey) argument

Completed in 185 milliseconds