blob: 8f8787f7392e64a4ed2d04c7c494fd68500eb122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/* GENERATED SOURCE. DO NOT MODIFY. */
package com.android.internal.org.bouncycastle.jcajce.provider.config;
import java.util.Map;
import com.android.internal.org.bouncycastle.asn1.ASN1ObjectIdentifier;
import com.android.internal.org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter;
/**
* Implemented by the BC provider. This allows setting of hidden parameters,
* such as the ImplicitCA parameters from X.962, if used.
* @hide This class is not part of the Android public SDK API
*/
public interface ConfigurableProvider
{
/**
* Elliptic Curve CA parameters - thread local version
*/
static final String THREAD_LOCAL_EC_IMPLICITLY_CA = "threadLocalEcImplicitlyCa";
/**
* Elliptic Curve CA parameters - VM wide version
*/
static final String EC_IMPLICITLY_CA = "ecImplicitlyCa";
/**
* Diffie-Hellman Default Parameters - thread local version
*/
static final String THREAD_LOCAL_DH_DEFAULT_PARAMS = "threadLocalDhDefaultParams";
/**
* Diffie-Hellman Default Parameters - VM wide version
*/
static final String DH_DEFAULT_PARAMS = "DhDefaultParams";
/**
* A set of OBJECT IDENTIFIERs representing acceptable named curves for imported keys.
*/
static final String ACCEPTABLE_EC_CURVES = "acceptableEcCurves";
/**
* A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.
*/
static final String ADDITIONAL_EC_PARAMETERS = "additionalEcParameters";
void setParameter(String parameterName, Object parameter);
void addAlgorithm(String key, String value);
void addAlgorithm(String type, ASN1ObjectIdentifier oid, String className);
boolean hasAlgorithm(String type, String name);
void addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter);
AsymmetricKeyInfoConverter getKeyInfoConverter(ASN1ObjectIdentifier oid);
void addAttributes(String key, Map<String, String> attributeMap);
}
|