Home
last modified time | relevance | path

Searched refs:keyInfo (Results 1 – 11 of 11) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyFactorySpi.java91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
94 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
98 return new BCDHPrivateKey(keyInfo); in generatePrivate()
102 return new BCDHPrivateKey(keyInfo); in generatePrivate()
110 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
113 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
117 return new BCDHPublicKey(keyInfo); in generatePublic()
121 return new BCDHPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
67 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
71 return new BCDSAPrivateKey(keyInfo); in generatePrivate()
79 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
82 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
86 return new BCDSAPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
136 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
140 return new BCRSAPrivateCrtKey(keyInfo); in generatePrivate()
148 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
151 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
155 return new BCRSAPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectKeyIdentifier.java98 public static SubjectKeyIdentifier createSHA1KeyIdentifier(SubjectPublicKeyInfo keyInfo) in createSHA1KeyIdentifier() argument
100 return new SubjectKeyIdentifier(keyInfo); in createSHA1KeyIdentifier()
114 … public static SubjectKeyIdentifier createTruncatedSHA1KeyIdentifier(SubjectPublicKeyInfo keyInfo) in createTruncatedSHA1KeyIdentifier() argument
116 byte[] dig = getDigest(keyInfo); in createTruncatedSHA1KeyIdentifier()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java78 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException in createKey() argument
80 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey()
84 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
96 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
116 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
143 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
DPublicKeyFactory.java85 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException in createKey() argument
87 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey()
92 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
98 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
131 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
152 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
179 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java156 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
159 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
163 return new BCECPrivateKey(algorithm, keyInfo, configuration); in generatePrivate()
171 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
174 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
178 return new BCECPublicKey(algorithm, keyInfo, configuration); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricKeyInfoConverter.java12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
/external/chromium_org/third_party/sqlite/src/src/
Dexpr.c1613 KeyInfo keyInfo; /* Keyinfo for the generated table */ in sqlite3CodeSubselect() local
1639 memset(&keyInfo, 0, sizeof(keyInfo)); in sqlite3CodeSubselect()
1640 keyInfo.nField = 1; in sqlite3CodeSubselect()
1661 keyInfo.aColl[0] = sqlite3BinaryCompareCollSeq(pParse, pExpr->pLeft, in sqlite3CodeSubselect()
1680 keyInfo.aColl[0] = sqlite3ExprCollSeq(pParse, pExpr->pLeft); in sqlite3CodeSubselect()
1720 sqlite3VdbeChangeP4(v, addr, (void *)&keyInfo, P4_KEYINFO); in sqlite3CodeSubselect()
/external/bouncycastle/patches/
Dbcprov.patch1014 - ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1023 + // ASN1Integer = (ASN1Integer)keyInfo.parsePrivateKey();
1031 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1066 - ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
1075 + // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c72350 KeyInfo keyInfo; /* Keyinfo for the generated table */
72376 memset(&keyInfo, 0, sizeof(keyInfo));
72377 keyInfo.nField = 1;
72398 keyInfo.aColl[0] = sqlite3BinaryCompareCollSeq(pParse, pExpr->pLeft,
72417 keyInfo.aColl[0] = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
72457 sqlite3VdbeChangeP4(v, addr, (void *)&keyInfo, P4_KEYINFO);