Searched refs:publicKey (Results 1 – 11 of 11) sorted by relevance
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 90 private PublicKey publicKey = null; field in RSA_SHA1 117 publicKey = (PublicKey)publicKeyObject; in initialize() 119 publicKey = getPublicKeyFromPem((String)publicKeyObject); in initialize() 121 publicKey = getPublicKeyFromDer((byte[])publicKeyObject); in initialize() 132 publicKey = ((X509Certificate) certObject).getPublicKey(); in initialize() 134 publicKey = getPublicKeyFromPemCert((String)certObject); in initialize() 136 publicKey = getPublicKeyFromDerCert((byte[])certObject); in initialize() 229 if (publicKey == null) { in verify() 235 verifier.initVerify(publicKey); in verify()
|
/external/chromium/net/base/ |
D | keygen_handler_nss.cc | 84 SECKEYPublicKey *publicKey = NULL; in GenKeyAndSignChallenge() local 138 &publicKey, in GenKeyAndSignChallenge() 154 spkInfo = SECKEY_CreateSubjectPublicKeyInfo(publicKey); in GenKeyAndSignChallenge() 233 if (publicKey) { in GenKeyAndSignChallenge() 234 PK11_DestroyTokenObject(publicKey->pkcs11Slot, publicKey->pkcs11ID); in GenKeyAndSignChallenge() 239 if (publicKey) { in GenKeyAndSignChallenge() 240 SECKEY_DestroyPublicKey(publicKey); in GenKeyAndSignChallenge()
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKDSASigner.java | 55 PublicKey publicKey) in engineInitVerify() argument 68 if (publicKey instanceof DSAKey) in engineInitVerify() 71 param = DSAUtil.generatePublicKeyParameter(publicKey); in engineInitVerify() 77 byte[] bytes = publicKey.getEncoded(); in engineInitVerify() 79 publicKey = JDKKeyFactory.createPublicKeyFromDERStream(bytes); in engineInitVerify() 81 if (publicKey instanceof DSAKey) in engineInitVerify() 83 param = DSAUtil.generatePublicKeyParameter(publicKey); in engineInitVerify()
|
D | JDKDigestSignature.java | 76 PublicKey publicKey) in engineInitVerify() argument 79 if (!(publicKey instanceof RSAPublicKey)) in engineInitVerify() 81 …throw new InvalidKeyException("Supplied key (" + getType(publicKey) + ") is not a RSAPublicKey ins… in engineInitVerify() 84 CipherParameters param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)publicKey); in engineInitVerify()
|
D | PKIXCertPathValidatorSpi.java | 89 private static boolean isPublicKeyBlackListed(PublicKey publicKey) { in isPublicKeyBlackListed() argument 90 byte[] encoded = publicKey.getEncoded(); in isPublicKeyBlackListed()
|
D | CertPathValidatorUtilities.java | 1545 protected static void verifyX509Certificate(X509Certificate cert, PublicKey publicKey, in verifyX509Certificate() argument 1551 cert.verify(publicKey); in verifyX509Certificate() 1555 cert.verify(publicKey, sigProvider); in verifyX509Certificate()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 52 DEREncodable publicKey) in SubjectPublicKeyInfo() argument 54 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo() 60 byte[] publicKey) in SubjectPublicKeyInfo() argument 62 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo()
|
D | ObjectDigestInfo.java | 39 public final static int publicKey = 0; field in ObjectDigestInfo
|
/external/openssl/crypto/ec/ |
D | ec_asn1.c | 195 ASN1_BIT_STRING *publicKey; member 269 ASN1_EXP_OPT(EC_PRIVATEKEY, publicKey, ASN1_BIT_STRING, 1) 1170 if (priv_key->publicKey) in d2i_ECPrivateKey() 1183 pub_oct = M_ASN1_STRING_data(priv_key->publicKey); in d2i_ECPrivateKey() 1184 pub_oct_len = M_ASN1_STRING_length(priv_key->publicKey); in d2i_ECPrivateKey() 1266 priv_key->publicKey = M_ASN1_BIT_STRING_new(); in i2d_ECPrivateKey() 1267 if (priv_key->publicKey == NULL) in i2d_ECPrivateKey() 1296 priv_key->publicKey->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); in i2d_ECPrivateKey() 1297 priv_key->publicKey->flags |= ASN1_STRING_FLAG_BITS_LEFT; in i2d_ECPrivateKey() 1298 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffer, in i2d_ECPrivateKey()
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
D | AttributeCertificateHolder.java | 365 case ObjectDigestInfo.publicKey: in match()
|
/external/bouncycastle/patches/ |
D | android.patch | 9866 - if (publicKey instanceof GOST3410Key) 9868 - param = GOST3410Util.generatePublicKeyParameter(publicKey); 9870 - else if (publicKey instanceof DSAKey) 9872 + // if (publicKey instanceof GOST3410Key) 9874 + // param = GOST3410Util.generatePublicKeyParameter(publicKey); 9876 + // else if (publicKey instanceof DSAKey) 9879 + if (publicKey instanceof DSAKey) 9882 param = DSAUtil.generatePublicKeyParameter(publicKey); 12014 + private static boolean isPublicKeyBlackListed(PublicKey publicKey) { 12015 + byte[] encoded = publicKey.getEncoded();
|