public final class KeyStorePermission
extends java.security.BasicPermission
| Constructor and Description |
|---|
KeyStorePermission(java.lang.String name)
Creates a new KeyStorePermission object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(java.security.Permission p)
Checks if the specified permission is "implied" by this object.
|
public KeyStorePermission(java.lang.String name)
name - Permission name,
MUST be one of "client_only" or "*".
The "client_only" value means that an access to the
certificate storage for a client only.
The "*" value means that an access to the common used
certificate storage.java.lang.NullPointerException - if name is nulljava.lang.IllegalArgumentException - if name is not validpublic boolean implies(java.security.Permission p)
true if:
implies in class java.security.BasicPermissionp - the permission to check against.true if the passed permission is equal to or
implied by this permission, false otherwise.Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.