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.java99 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
102 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
106 return new BCDHPrivateKey(keyInfo); in generatePrivate()
110 return new BCDHPrivateKey(keyInfo); in generatePrivate()
118 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
121 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
125 return new BCDHPublicKey(keyInfo); in generatePublic()
129 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 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in generatePrivate()
148 return new BCRSAPrivateCrtKey(keyInfo); in generatePrivate()
157 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
160 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
164 return new BCRSAPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java86 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException in createKey() argument
88 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey()
93 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
99 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
132 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
153 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
191 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes()); in createKey()
DPrivateKeyFactory.java79 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException in createKey() argument
81 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey()
85 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
97 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
117 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
155 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java163 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
166 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
170 return new BCECPrivateKey(algorithm, keyInfo, configuration); in generatePrivate()
178 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
181 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
185 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/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DKeyTypeData.java428 KeyInfoType keyInfo = KeyInfoType.valueOf(key);
433 switch (keyInfo) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java426 KeyInfoType keyInfo = KeyInfoType.valueOf(key);
431 switch (keyInfo) {
/external/icu/icu4c/source/data/misc/
DkeyTypeData.txt10 keyInfo{
/external/bouncycastle/patches/
Dbcprov.patch1211 - ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1220 + // ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1228 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1263 - ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
1272 + // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();