Searched defs:publicKey (Results 1 - 25 of 40) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DECPrivateKeyStructure.java57 DERBitString publicKey,
72 if (publicKey != null)
74 v.add(new DERTaggedObject(true, 1, publicKey));
122 * publicKey [1] BIT STRING OPTIONAL }
55 ECPrivateKeyStructure( BigInteger key, DERBitString publicKey, ASN1Encodable parameters) argument
H A DECPrivateKey.java94 DERBitString publicKey,
97 this(key.bitLength(), key, publicKey, parameters);
111 DERBitString publicKey,
126 if (publicKey != null)
128 v.add(new DERTaggedObject(true, 1, publicKey));
176 * publicKey [1] BIT STRING OPTIONAL }
92 ECPrivateKey( BigInteger key, DERBitString publicKey, ASN1Encodable parameters) argument
108 ECPrivateKey( int orderBitLength, BigInteger key, DERBitString publicKey, ASN1Encodable parameters) argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
H A DJcaSimpleSignerInfoVerifierBuilder.java56 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
59 return new JcaContentVerifierProviderBuilder().build(publicKey);
91 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
94 return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey);
126 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
129 return new JcaContentVerifierProviderBuilder().setProvider(provider).build(publicKey);
H A DJcaSignerInfoVerifierBuilder.java86 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
89 return new JcaContentVerifierProviderBuilder().build(publicKey);
121 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
124 return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey);
156 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) argument
159 return new JcaContentVerifierProviderBuilder().setProvider(provider).build(publicKey);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DSubjectPublicKeyInfo.java52 ASN1Encodable publicKey)
55 this.keyData = new DERBitString(publicKey);
61 byte[] publicKey)
63 this.keyData = new DERBitString(publicKey);
147 * publicKey BIT STRING }
50 SubjectPublicKeyInfo( AlgorithmIdentifier algId, ASN1Encodable publicKey) argument
59 SubjectPublicKeyInfo( AlgorithmIdentifier algId, byte[] publicKey) argument
H A DObjectDigestInfo.java20 * publicKey (0),
39 public final static int publicKey = 0; field in class:ObjectDigestInfo
86 * {@link #publicKey} <code>otherObjectTypeID</code> must be given,
162 * publicKey (0),
/external/conscrypt/src/main/java/org/conscrypt/ct/
H A DCTLogInfo.java34 private final PublicKey publicKey; field in class:CTLogInfo
38 public CTLogInfo(PublicKey publicKey, String description, String url) { argument
41 .digest(publicKey.getEncoded());
47 this.publicKey = publicKey;
60 return publicKey;
82 this.publicKey.equals(that.publicKey) &&
90 hash = hash * 31 + publicKey.hashCode();
125 signature.initVerify(publicKey);
[all...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
H A DCsrUtil.java101 * @param publicKey Public key to use in issued certificate.
107 public static X509Certificate[] issueX509V3Certificate(String name, PublicKey publicKey, argument
117 return issueX509V3Certificate(name, publicKey, rootCert, rootPair, notBefore, notAfter, serialNumber);
121 static X509Certificate[] issueX509V3Certificate(String name, PublicKey publicKey, argument
134 certGen.setPublicKey(publicKey);
142 SubjectKeyIdentifier.getInstance(publicKey.getEncoded()));
H A DSslUtil.java206 * @param publicKey the public key
212 PublicKey publicKey, X509Name name, BigInteger serialNumber) {
217 (ASN1Sequence)new ASN1InputStream(publicKey.getEncoded()).readObject());
227 * @param publicKey the public key
230 static SubjectKeyIdentifier createSubjectKeyIdentifier(PublicKey publicKey) { argument
231 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(publicKey.getEncoded());
211 createAuthorityKeyIdentifier( PublicKey publicKey, X509Name name, BigInteger serialNumber) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DSignatureSpi.java48 protected void engineInitVerify(PublicKey publicKey) argument
51 CipherParameters param = ECUtil.generatePublicKeyParameter(publicKey);
H A DBCECPrivateKey.java51 private transient DERBitString publicKey; field in class:BCECPrivateKey
115 this.publicKey = key.publicKey;
149 publicKey = getPublicKeyDetails(pubKey);
184 publicKey = getPublicKeyDetails(pubKey);
229 this.publicKey = ec.getPublicKey();
293 if (publicKey != null)
295 keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(orderBitLength, this.getS(), publicKey, params);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DCertBlacklist.java215 public boolean isPublicKeyBlackListed(PublicKey publicKey) { argument
216 byte[] encoded = publicKey.getEncoded();
H A DJCEECPrivateKey.java52 private DERBitString publicKey; field in class:JCEECPrivateKey
109 this.publicKey = key.publicKey;
140 publicKey = getPublicKeyDetails(pubKey);
179 publicKey = getPublicKeyDetails(pubKey);
268 this.publicKey = ec.getPublicKey();
327 if (publicKey != null)
329 keyStructure = new ECPrivateKeyStructure(this.getS(), publicKey, params);
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLSignatureRawRSA.java106 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { argument
107 if (publicKey instanceof OpenSSLRSAPublicKey) {
108 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey;
110 } else if (publicKey instanceof RSAPublicKey) {
111 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
H A DOpenSSLECPrivateKey.java82 PublicKey publicKey) throws InvalidKeyException {
86 } else if (publicKey instanceof ECKey) {
87 params = ((ECKey) publicKey).getParams();
91 + ", public: " + publicKey);
81 wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, PublicKey publicKey) argument
H A DOpenSSLKey.java129 * @param publicKey corresponding public key or {@code null} if not available. Some opaque
133 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException {
144 return wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey);
212 PublicKey publicKey) throws InvalidKeyException {
215 return OpenSSLRSAPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey);
217 return OpenSSLECPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(privateKey, publicKey);
132 fromPrivateKeyForTLSStackOnly( PrivateKey privateKey, PublicKey publicKey) argument
211 wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, PublicKey publicKey) argument
H A DOpenSSLRSAPrivateKey.java111 PublicKey publicKey) throws InvalidKeyException {
115 } else if (publicKey instanceof RSAKey) {
116 modulus = ((RSAKey) publicKey).getModulus();
120 + ", public: " + publicKey);
110 wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, PublicKey publicKey) argument
/external/conscrypt/src/platform/java/org/conscrypt/
H A DCertBlacklist.java214 public boolean isPublicKeyBlackListed(PublicKey publicKey) { argument
215 byte[] encoded = publicKey.getEncoded();
/external/oauth/core/src/main/java/net/oauth/signature/
H A DRSA_SHA1.java90 private PublicKey publicKey = null; field in class:RSA_SHA1
117 publicKey = (PublicKey)publicKeyObject;
119 publicKey = getPublicKeyFromPem((String)publicKeyObject);
121 publicKey = getPublicKeyFromDer((byte[])publicKeyObject);
132 publicKey = ((X509Certificate) certObject).getPublicKey();
134 publicKey = getPublicKeyFromPemCert((String)certObject);
136 publicKey = getPublicKeyFromDerCert((byte[])certObject);
229 if (publicKey == null) {
235 verifier.initVerify(publicKey);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactory_ImplTest.java210 private static PublicKey publicKey; field in class:CertificateFactory_ImplTest
219 publicKey = keyFactory.generatePublic(publicKeySpec);
222 publicKey = null;
226 publicKey = null;
269 if (publicKey != null) {
272 ((X509CRL) i.next()).verify(publicKey);
314 if (publicKey != null) {
316 crl.verify(publicKey);
343 if (publicKey != null) {
346 ((X509CRL) it.next()).verify(publicKey);
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMySignature1.java59 protected void engineInitVerify(PublicKey publicKey) argument
H A DMySignature2.java44 protected void engineInitVerify(PublicKey publicKey) argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentVerifierProviderBuilder.java114 public ContentVerifierProvider build(final PublicKey publicKey) argument
132 SignatureOutputStream stream = createSignatureStream(algorithm, publicKey);
134 Signature rawSig = createRawSig(algorithm, publicKey);
148 public ContentVerifierProvider build(SubjectPublicKeyInfo publicKey) argument
151 return this.build(helper.convertPublicKey(publicKey));
154 private SignatureOutputStream createSignatureStream(AlgorithmIdentifier algorithm, PublicKey publicKey) argument
161 sig.initVerify(publicKey);
171 private Signature createRawSig(AlgorithmIdentifier algorithm, PublicKey publicKey) argument
180 rawSig.initVerify(publicKey);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
H A DDSASigner.java62 PublicKey publicKey)
67 if (publicKey instanceof DSAKey)
69 param = DSAUtil.generatePublicKeyParameter(publicKey);
75 byte[] bytes = publicKey.getEncoded();
77 publicKey = new BCDSAPublicKey(SubjectPublicKeyInfo.getInstance(bytes));
79 if (publicKey instanceof DSAKey)
81 param = DSAUtil.generatePublicKeyParameter(publicKey);
61 engineInitVerify( PublicKey publicKey) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DDigestSignatureSpi.java79 PublicKey publicKey)
82 if (!(publicKey instanceof RSAPublicKey))
84 throw new InvalidKeyException("Supplied key (" + getType(publicKey) + ") is not a RSAPublicKey instance");
87 CipherParameters param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)publicKey);
78 engineInitVerify( PublicKey publicKey) argument

Completed in 649 milliseconds

12