HomeSort by relevance Sort by last modified time
    Searched refs:pubKey (Results 1 - 25 of 53) sorted by null

1 2 3

  /libcore/ojluni/src/main/java/java/security/cert/
TrustAnchor.java 65 private final PublicKey pubKey;
129 this.pubKey = null;
153 * @param pubKey the public key of the most-trusted CA
159 * {@code pubKey} parameter is {@code null}
162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey,
164 if ((caPrincipal == null) || (pubKey == null)) {
170 this.pubKey = pubKey;
194 * @param pubKey the public key of the most-trusted CA
203 * {@code pubKey} parameter is {@code null
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
BasicAgreement.java 25 BigInteger calculateAgreement(CipherParameters pubKey);
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/
JcaRespID.java 21 public JcaRespID(PublicKey pubKey, DigestCalculator digCalc)
24 super(SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()), digCalc);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
ECDHBasicAgreement.java 45 CipherParameters pubKey)
48 ECPoint peerPoint = ((ECPublicKeyParameters) pubKey).getQ();
62 ECPublicKeyParameters pub = (ECPublicKeyParameters)pubKey;
DHBasicAgreement.java 62 CipherParameters pubKey)
64 DHPublicKeyParameters pub = (DHPublicKeyParameters)pubKey;
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECPublicKey.java 56 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group,
59 pubKey.getNativeRef(), null));
69 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group,
72 pubKey.getNativeRef(), null));
99 final OpenSSLECPointContext pubKey = new OpenSSLECPointContext(group,
102 return pubKey.getECPoint();
OpenSSLRSAKeyPairGenerator.java 55 PublicKey pubKey = new OpenSSLRSAPublicKey(key);
57 return new KeyPair(pubKey, privKey);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
AuthorityKeyIdentifierStructure.java 105 PublicKey pubKey)
110 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded());
138 * @param pubKey the key to generate the hash from.
142 PublicKey pubKey)
145 super(fromKey(pubKey));
  /libcore/ojluni/src/main/java/sun/security/x509/
KeyIdentifier.java 79 * @param pubKey the public key from which to construct this KeyIdentifier
82 public KeyIdentifier(PublicKey pubKey)
85 DerValue algAndKey = new DerValue(pubKey.getEncoded());
X509CertInfo.java 90 protected CertificateX509Key pubKey = null;
294 if (subject == null || pubKey == null || interval == null
304 sb.append(" Key: " + pubKey.toString() + "\n");
422 pubKey.set(suffix, val);
503 pubKey = null;
505 pubKey.delete(suffix);
569 return(pubKey);
571 return(pubKey.get(suffix));
667 pubKey = new CertificateX509Key(in);
780 pubKey.encode(tmp)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyAgreementSpi.java 102 DHPublicKey pubKey = (DHPublicKey)key;
104 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p))
127 return new BCDHPublicKey(result, pubKey.getParams());
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
KeyAgreementThread.java 53 PublicKey pubKey = keyFact.generatePublic(x509KeySpec);
57 ka.doPhase(pubKey, true);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyAgreementSpi.java 97 CipherParameters pubKey;
108 // pubKey = new MQVPublicParameters(staticKey, ephemKey);
118 // pubKey = new MQVPublicParameters(staticKey, ephemKey);
130 pubKey = ECUtils.generatePublicKeyParameter((PublicKey)key);
135 result = agreement.calculateAgreement(pubKey);
KeyPairGeneratorSpi.java 177 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration);
178 return new KeyPair(pubKey,
179 new BCECPrivateKey(algorithm, priv, pubKey, p, configuration));
190 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration);
192 return new KeyPair(pubKey, new BCECPrivateKey(algorithm, priv, pubKey, p, configuration));
BCECPrivateKey.java 119 BCECPublicKey pubKey,
146 publicKey = getPublicKeyDetails(pubKey);
152 BCECPublicKey pubKey,
183 publicKey = getPublicKeyDetails(pubKey);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 65 org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInstance(info.parsePublicKey());
68 this.modulus = pubKey.getModulus();
69 this.publicExponent = pubKey.getPublicExponent();
  /libcore/luni/src/test/java/libcore/java/security/
SignatureTest.java     [all...]
  /external/boringssl/src/ssl/test/runner/ed25519/
ed25519_test.go 119 pubKey, _ := hex.DecodeString(parts[1])
126 if l := len(pubKey); l != PublicKeySize {
132 copy(priv[32:], pubKey)
139 if !Verify(pubKey, msg, sig2) {
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
JcaSignerInfoVerifierBuilder.java 78 public SignerInformationVerifier build(PublicKey pubKey)
81 return new SignerInformationVerifier(sigAlgNameGen, sigAlgIDFinder, helper.createContentVerifierProvider(pubKey), digestProvider);
JcaSimpleSignerInfoVerifierBuilder.java 48 public SignerInformationVerifier build(PublicKey pubKey)
51 return new SignerInformationVerifier(new DefaultCMSSignatureAlgorithmNameGenerator(), new DefaultSignatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(pubKey), helper.createDigestCalculatorProvider());
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
CertId.java 94 byte[] pubKey = issuerKey.getEncoded();
95 DerValue val = new DerValue(pubKey);
RevocationChecker.java 343 PublicKey pubKey, boolean crlSignFlag)
368 pubKey, crlSignFlag);
395 pubKey, crlSignFlag);
444 PublicKey pubKey = cert.getPublicKey();
445 if (PKIX.isDSAPublicKeyWithoutParams(pubKey)) {
446 // pubKey needs to inherit DSA parameters from prev key
447 pubKey = BasicChecker.makeInheritedParamsKey(pubKey, prevPubKey);
449 prevPubKey = pubKey;
462 PublicKey pubKey, boolean signFlag
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 93 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey());
95 return new RSAKeyParameters(false, pubKey.getModulus(), pubKey.getPublicExponent());
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 563 PublicKey pubKey = keyPair.getPublic();
569 certGen.setPublicKey(pubKey);
577 new AuthorityKeyIdentifier(generatePublicKeyDigest(pubKey)));
581 new SubjectKeyIdentifier(generatePublicKeyDigest(pubKey)));
596 private static byte[] generatePublicKeyDigest(PublicKey pubKey) {
597 SubjectPublicKeyInfo spki = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
ECUtil.java 192 java.security.interfaces.ECPublicKey pubKey = (java.security.interfaces.ECPublicKey)key;
193 ECParameterSpec s = EC5Util.convertSpec(pubKey.getParams(), false);
195 EC5Util.convertPoint(pubKey.getParams(), pubKey.getW(), false),

Completed in 4613 milliseconds

1 2 3