HomeSort by relevance Sort by last modified time
    Searched full:privatekey (Results 126 - 150 of 699) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/boringssl/src/ssl/test/runner/
key_agreement.go 37 exportKey *rsa.PrivateKey
66 sigAlg, err = selectSignatureAlgorithm(ka.version, cert.PrivateKey, config, clientHello.signatureAlgorithms)
72 sig, err := signMessage(ka.version, cert.PrivateKey, config, sigAlg, serverRSAParams)
117 key := cert.PrivateKey.(*rsa.PrivateKey)
256 privateKey []byte
261 e.privateKey, x, y, err = elliptic.GenerateKey(e.curve, rand)
285 x, _ = e.curve.ScalarMult(x, y, e.privateKey)
295 privateKey [32]byte
299 _, err = io.ReadFull(rand, e.privateKey[:]
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/rsa/
rsa.go 19 // over the public-key primitive, the PrivateKey struct implements the
79 // A PrivateKey represents an RSA key
80 type PrivateKey struct {
91 func (priv *PrivateKey) Public() crypto.PublicKey {
102 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
113 func (priv *PrivateKey) Decrypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
161 func (priv *PrivateKey) Validate() error {
199 func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {
214 func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
215 priv := new(PrivateKey)
    [all...]
  /prebuilts/go/linux-x86/src/crypto/rsa/
rsa.go 19 // over the public-key primitive, the PrivateKey struct implements the
79 // A PrivateKey represents an RSA key
80 type PrivateKey struct {
91 func (priv *PrivateKey) Public() crypto.PublicKey {
102 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
113 func (priv *PrivateKey) Decrypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
161 func (priv *PrivateKey) Validate() error {
199 func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {
214 func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
215 priv := new(PrivateKey)
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
SignatureTest.java 23 import java.security.PrivateKey;
490 PrivateKey keystorePrivateKey = key.getKeystoreBackedKeyPair().getPrivate();
    [all...]
KeyInfoTest.java 28 import java.security.PrivateKey;
59 PrivateKey key = keyPair.getPrivate();
  /build/make/tools/signapk/src/com/android/signapk/
SignApk.java 65 import java.security.PrivateKey;
253 private static PrivateKey readPrivateKey(File file)
310 CMSTypedData data, X509Certificate publicKey, PrivateKey privateKey, int hash,
324 .build(privateKey);
639 private final PrivateKey privateKey;
652 X509Certificate publicKey, PrivateKey privateKey, int hash,
657 this.privateKey = privateKey
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
ECUtil.java 5 import java.security.PrivateKey;
225 PrivateKey key)
262 PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes));
264 if (privateKey instanceof java.security.interfaces.ECPrivateKey)
266 return ECUtil.generatePrivateKeyParameter(privateKey);
BaseCipherSpi.java 9 import java.security.PrivateKey;
186 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in);
  /frameworks/base/wifi/tests/src/android/net/wifi/
WifiEnterpriseConfigTest.java 36 import java.security.PrivateKey;
100 PrivateKey clientKey = FakeKeys.RSA_KEY1;
120 PrivateKey clientKey = FakeKeys.RSA_KEY1;
134 PrivateKey clientKey = FakeKeys.RSA_KEY1;
374 PrivateKey clientKey = FakeKeys.RSA_KEY1;
384 PrivateKey actualClientKey = mEnterpriseConfig.getClientPrivateKey();
  /prebuilts/go/darwin-x86/src/crypto/dsa/
dsa.go 28 // PrivateKey represents a DSA private key.
29 type PrivateKey struct {
150 // PrivateKey must already be valid (see GenerateParameters).
151 func GenerateKey(priv *PrivateKey, rand io.Reader) error {
195 // Be aware that calling Sign with an attacker-controlled PrivateKey may
197 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /prebuilts/go/linux-x86/src/crypto/dsa/
dsa.go 28 // PrivateKey represents a DSA private key.
29 type PrivateKey struct {
150 // PrivateKey must already be valid (see GenerateParameters).
151 func GenerateKey(priv *PrivateKey, rand io.Reader) error {
195 // Be aware that calling Sign with an attacker-controlled PrivateKey may
197 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /frameworks/base/wifi/java/android/net/wifi/
WifiEnterpriseConfig.java 29 import java.security.PrivateKey;
144 private PrivateKey mClientPrivateKey;
793 * @param privateKey a PrivateKey instance for the end certificate.
797 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) {
802 setClientKeyEntryWithCertificateChain(privateKey, clientCertificates);
813 * @param privateKey a PrivateKey instance for the end certificate.
819 public void setClientKeyEntryWithCertificateChain(PrivateKey privateKey
    [all...]
  /tools/apksig/src/main/java/com/android/apksig/
SigningCertificateLineage.java 41 import java.security.PrivateKey;
247 newSignerConfig.privateKey = parent.getPrivateKey();
636 private final PrivateKey mPrivateKey;
640 PrivateKey privateKey,
642 mPrivateKey = privateKey;
649 public PrivateKey getPrivateKey() {
665 private final PrivateKey mPrivateKey;
671 * @param privateKey signing key
673 * {@code privateKey}
    [all...]
  /developers/build/prebuilts/gradle/BasicAndroidKeyStore/
README.md 13 A [KeyPair][2] consisting of a [PrivateKey][3] and a [PublicKey][4] is being generated.
25 [3]: https://developer.android.com/reference/java/security/PrivateKey.html
  /developers/samples/android/security/keystore/BasicAndroidKeyStore/
README.md 13 A [KeyPair][2] consisting of a [PrivateKey][3] and a [PublicKey][4] is being generated.
20 [3]: https://developer.android.com/reference/java/security/PrivateKey.html
template-params.xml 75 A [KeyPair][2] consisting of a [PrivateKey][3] and a [PublicKey][4] is being generated.
87 [3]: https://developer.android.com/reference/java/security/PrivateKey.html
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SignatureTest.java 35 import java.security.PrivateKey;
154 * Class under test for void initSign(PrivateKey)
188 * Class under test for void initSign(PrivateKey, SecureRandom)
551 private class MyPrivateKey extends MyKey implements PrivateKey {}
595 protected void engineInitSign(PrivateKey privateKey)
655 protected void engineInitSign(PrivateKey privateKey)
  /libcore/ojluni/src/main/java/java/security/
KeyStore.java 50 * <p> This type of entry holds a cryptographic {@code PrivateKey},
136 * PrivateKey myPrivateKey = pkEntry.getPrivateKey();
204 * @see java.security.PrivateKey
270 * (such as a {@code PrivateKey}).
490 * A {@code KeyStore} entry that holds a {@code PrivateKey}
497 private final PrivateKey privKey;
503 * {@code PrivateKey} and corresponding certificate chain.
508 * @param privateKey the {@code PrivateKey}
516 * {@code privateKey} or {@code chain
    [all...]
PublicKey.java 38 * @see PrivateKey
  /tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
FullApkSignTest.java 32 import java.security.PrivateKey;
53 ApkZLibPair<PrivateKey, X509Certificate> signData =
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
KeyChainTestActivity.java 40 import java.security.PrivateKey;
210 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, alias);
213 sign.initSign(privateKey);
  /external/conscrypt/android/src/main/java/org/conscrypt/
KitKatPlatformOpenSSLSocketImplAdapter.java 27 import java.security.PrivateKey;
416 public void setChannelIdPrivateKey(PrivateKey privateKey) {
417 delegate.setChannelIdPrivateKey(privateKey);
PreKitKatPlatformOpenSSLSocketImplAdapter.java 27 import java.security.PrivateKey;
416 public void setChannelIdPrivateKey(PrivateKey privateKey) {
417 delegate.setChannelIdPrivateKey(privateKey);
  /frameworks/base/keystore/java/android/security/
IKeyChainService.aidl 45 boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias);
  /libcore/ojluni/src/main/java/java/security/interfaces/
DSAPrivateKey.java 41 public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {

Completed in 1603 milliseconds

1 2 3 4 56 7 8 91011>>