软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
Modifier and Type | Method and Description |
---|---|
static CryptoPrimitive |
CryptoPrimitive.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static CryptoPrimitive[] |
CryptoPrimitive.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives, Key key)
确定是否密钥被授予指定的加密基元的权限。
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters)
确定一个算法是否被授予指定的加密原语的权限。
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters)
确定一个算法和相应的密钥是否被授予指定的加密基元的权限。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.