public class KeyManagerPolicy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
KeyManagerPolicy.Builder
Builder design pattern class.
|
static class |
KeyManagerPolicy.ExtendedKeyUsage |
static class |
KeyManagerPolicy.KeyUsage
Gets a boolean array representing bits of
KeyUsage ::= BIT STRING {
digitalSignature (0),
nonRepudiation (1),
keyEncipherment (2),
dataEncipherment (3),
keyAgreement (4),
keyCertSign (5),
cRLSign (6),
encipherOnly (7),
decipherOnly (8) }
|
Modifier and Type | Method and Description |
---|---|
boolean |
doFilter(java.security.cert.X509Certificate certificate,
java.lang.String alias) |
static KeyManagerPolicy.Builder |
getBuilder()
Returns KeyManagerPolicy instance builder.
|
void |
reset()
Erase the configuration.
|
public static KeyManagerPolicy.Builder getBuilder()
public void reset()
public boolean doFilter(java.security.cert.X509Certificate certificate, java.lang.String alias)
certificate
- the certificate to filter.alias
- the alias of the certificate to filter.