本文整理了Java中java.security.Provider.getPropertyIgnoreCase()
方法的一些代码示例,展示了Provider.getPropertyIgnoreCase()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Provider.getPropertyIgnoreCase()
方法的具体详情如下:
包路径:java.security.Provider
类名称:Provider
方法名:getPropertyIgnoreCase
[英]Returns the property with the specified key in the provider properties. The name is not case-sensitive.
[中]返回具有提供程序属性中指定键的属性。名称不区分大小写。
代码示例来源:origin: robovm/robovm
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: robovm/robovm
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: com.gluonhq/robovm-rt
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: ibinti/bugvm
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: MobiVM/robovm
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: FlexoVM/flexovm
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: ibinti/bugvm
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: com.bugvm/bugvm-rt
String prop = getPropertyIgnoreCase(servAlg);
if (prop == null) {
alg = getPropertyIgnoreCase("Alg.Alias." + servAlg);
if (alg != null) {
servAlg = serv + "." + alg;
prop = getPropertyIgnoreCase(servAlg);
代码示例来源:origin: MobiVM/robovm
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Returns true if this provider has the same value as is given for the
* given attribute
*/
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);
if (attributeValue != null) {
if (attribute.equalsIgnoreCase("KeySize")) {
if (Integer.parseInt(attributeValue) >= Integer.parseInt(val)) {
return true;
}
} else { // other attributes
if (attributeValue.equalsIgnoreCase(val)) {
return true;
}
}
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!