OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:algId
(Results
1 - 20
of
20
) sorted by null
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
EncryptionScheme.java
13
private AlgorithmIdentifier
algId
;
19
this.
algId
= new AlgorithmIdentifier(objectId, parameters);
25
this.
algId
= AlgorithmIdentifier.getInstance(seq);
44
return
algId
.getAlgorithm();
49
return
algId
.getParameters();
54
return
algId
.toASN1Primitive();
KeyDerivationFunc.java
13
private AlgorithmIdentifier
algId
;
19
this.
algId
= new AlgorithmIdentifier(objectId, parameters);
25
this.
algId
= AlgorithmIdentifier.getInstance(seq);
44
return
algId
.getAlgorithm();
49
return
algId
.getParameters();
54
return
algId
.toASN1Primitive();
EncryptedPrivateKeyInfo.java
17
private AlgorithmIdentifier
algId
;
25
algId
= AlgorithmIdentifier.getInstance(e.nextElement());
30
AlgorithmIdentifier
algId
,
33
this.
algId
=
algId
;
54
return
algId
;
81
v.add(
algId
);
PrivateKeyInfo.java
26
private AlgorithmIdentifier
algId
;
52
AlgorithmIdentifier
algId
,
56
this(
algId
, privateKey, null);
60
AlgorithmIdentifier
algId
,
66
this.
algId
=
algId
;
85
algId
= AlgorithmIdentifier.getInstance(e.nextElement());
96
return
algId
;
103
return
algId
;
154
v.add(
algId
);
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
SubjectPublicKeyInfo.java
25
private AlgorithmIdentifier
algId
;
51
AlgorithmIdentifier
algId
,
56
this.
algId
=
algId
;
60
AlgorithmIdentifier
algId
,
64
this.
algId
=
algId
;
78
this.
algId
= AlgorithmIdentifier.getInstance(e.nextElement());
84
return
algId
;
93
return
algId
;
[
all
...]
DigestInfo.java
26
private AlgorithmIdentifier
algId
;
51
AlgorithmIdentifier
algId
,
55
this.
algId
=
algId
;
63
algId
= AlgorithmIdentifier.getInstance(e.nextElement());
69
return
algId
;
81
v.add(
algId
);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
KeyUtil.java
11
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier
algId
, ASN1Encodable keyData)
15
return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(
algId
, keyData));
23
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier
algId
, byte[] keyData)
27
return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(
algId
, keyData));
47
public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier
algId
, ASN1Encodable privKey)
51
PrivateKeyInfo info = new PrivateKeyInfo(
algId
, privKey.toASN1Primitive());
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
CertificationRequest.java
47
private AlgorithmIdentifier
algId
;
56
AlgorithmIdentifier
algId
, byte[] signature) {
58
this.
algId
=
algId
;
63
AlgorithmIdentifier
algId
, byte[] signature, byte[] encoding) {
64
this(info,
algId
, signature);
107
values[1] = certReq.
algId
;
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
MessageImprint.java
39
private final AlgorithmIdentifier
algId
;
42
public MessageImprint(AlgorithmIdentifier
algId
, byte [] hashedMessage){
43
this.
algId
=
algId
;
60
values[0] = mi.
algId
;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java
87
AlgorithmIdentifier
algId
= keyInfo.getAlgorithm();
89
if (
algId
.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption)
90
||
algId
.getAlgorithm().equals(X509ObjectIdentifiers.id_ea_rsa))
96
else if (
algId
.getAlgorithm().equals(X9ObjectIdentifiers.dhpublicnumber))
102
DHDomainParameters dhParams = DHDomainParameters.getInstance(
algId
.getParameters());
128
else if (
algId
.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement))
130
DHParameter params = DHParameter.getInstance(
algId
.getParameters());
140
// else if (
algId
.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
142
// ElGamalParameter params = new ElGamalParameter((ASN1Sequence)
algId
.getParameters());
149
else if (
algId
.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa
[
all
...]
PrivateKeyFactory.java
80
AlgorithmIdentifier
algId
= keyInfo.getPrivateKeyAlgorithm();
82
if (
algId
.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption))
92
// else if (
algId
.getObjectId().equals(X9ObjectIdentifiers.dhpublicnumber))
93
else if (
algId
.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement))
95
DHParameter params = DHParameter.getInstance(
algId
.getParameters());
105
// else if (
algId
.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
107
// ElGamalParameter params = new ElGamalParameter((ASN1Sequence)
algId
.getParameters());
114
else if (
algId
.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa))
117
ASN1Encodable de =
algId
.getParameters();
128
else if (
algId
.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey)
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DigestSignatureSpi.java
53
private AlgorithmIdentifier
algId
;
62
this.
algId
= null;
73
this.
algId
= new AlgorithmIdentifier(objId, DERNull.INSTANCE);
255
if (
algId
== null)
261
DigestInfo dInfo = new DigestInfo(
algId
, hash);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
RSADigestSigner.java
31
private final AlgorithmIdentifier
algId
;
72
this.
algId
= new AlgorithmIdentifier(digestOid, DERNull.INSTANCE);
238
DigestInfo dInfo = new DigestInfo(
algId
, hash);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSSignedHelper.java
146
AlgorithmIdentifier fixAlgID(AlgorithmIdentifier
algId
)
148
if (
algId
.getParameters() == null)
150
return new AlgorithmIdentifier(
algId
.getAlgorithm(), DERNull.INSTANCE);
153
return
algId
;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
PKCS12KeyStoreSpi.java
579
AlgorithmIdentifier
algId
,
585
ASN1ObjectIdentifier algorithm =
algId
.getAlgorithm();
590
PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(
algId
.getParameters());
615
Cipher cipher = createCipher(Cipher.UNWRAP_MODE, password,
algId
);
663
AlgorithmIdentifier
algId
,
669
ASN1ObjectIdentifier algorithm =
algId
.getAlgorithm();
673
PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(
algId
.getParameters());
700
Cipher cipher = createCipher(Cipher.DECRYPT_MODE, password,
algId
);
715
private Cipher createCipher(int mode, char[] password, AlgorithmIdentifier
algId
)
718
PBES2Parameters alg = PBES2Parameters.getInstance(
algId
.getParameters())
[
all
...]
/packages/apps/Settings/src/com/android/settings/
CredentialStorage.java
204
String
algId
= pki.getAlgorithmId().getAlgorithm().getId();
205
String algName = AlgNameMapper.map2AlgName(
algId
);
/prebuilts/sdk/tools/lib/
signapk.jar
/external/google-tv-pairing-protocol/java/jar/
bcprov-jdk15-143.jar
/prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar
Completed in 279 milliseconds