- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.wildfly.security.x500.X500AttributeTypeAndValue.create()
方法的一些代码示例,展示了X500AttributeTypeAndValue.create()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。X500AttributeTypeAndValue.create()
方法的具体详情如下:
包路径:org.wildfly.security.x500.X500AttributeTypeAndValue
类名称:X500AttributeTypeAndValue
方法名:create
[英]Construct a new instance with the given value.
[中]用给定的值构造一个新实例。
代码示例来源:origin: wildfly/wildfly
/**
* Construct a new instance with an OID value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param oid the OID (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) {
return create(attributeType, ASN1Encodable.ofOid(oid));
}
代码示例来源:origin: wildfly/wildfly
/**
* Construct a new instance with a UTF-8 value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param stringValue the string value (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) {
Assert.checkNotNullParam("stringValue", stringValue);
return create(attributeType, ASN1Encodable.ofUtf8String(stringValue));
}
代码示例来源:origin: wildfly/wildfly
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME)));
dn = principalBuilder.build();
代码示例来源:origin: wildfly/wildfly
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName())));
X500Principal dn = principalBuilder.build();
if (keyAlgorithmName == null) {
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/**
* Construct a new instance with an OID value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param oid the OID (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) {
return create(attributeType, ASN1Encodable.ofOid(oid));
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
/**
* Construct a new instance with an OID value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param oid the OID (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) {
return create(attributeType, ASN1Encodable.ofOid(oid));
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-x500
/**
* Construct a new instance with an OID value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param oid the OID (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createObjectId(final String attributeType, String oid) {
return create(attributeType, ASN1Encodable.ofOid(oid));
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
/**
* Construct a new instance with a UTF-8 value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param stringValue the string value (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) {
Assert.checkNotNullParam("stringValue", stringValue);
return create(attributeType, ASN1Encodable.ofUtf8String(stringValue));
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-x500
/**
* Construct a new instance with a UTF-8 value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param stringValue the string value (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) {
Assert.checkNotNullParam("stringValue", stringValue);
return create(attributeType, ASN1Encodable.ofUtf8String(stringValue));
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/**
* Construct a new instance with a UTF-8 value.
*
* @param attributeType the attribute type OID (must not be {@code null})
* @param stringValue the string value (must not be {@code null})
* @return the directory attribute
*/
public static X500AttributeTypeAndValue createUtf8(final String attributeType, String stringValue) {
Assert.checkNotNullParam("stringValue", stringValue);
return create(attributeType, ASN1Encodable.ofUtf8String(stringValue));
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME)));
dn = principalBuilder.build();
代码示例来源:origin: org.wildfly.security/wildfly-elytron-x500-cert-acme
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME)));
dn = principalBuilder.build();
代码示例来源:origin: org.jboss.eap/wildfly-client-all
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(ACCOUNT_KEY_NAME)));
dn = principalBuilder.build();
代码示例来源:origin: org.wildfly.security/wildfly-elytron
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName())));
X500Principal dn = principalBuilder.build();
if (keyAlgorithmName == null) {
代码示例来源:origin: org.jboss.eap/wildfly-client-all
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName())));
X500Principal dn = principalBuilder.build();
if (keyAlgorithmName == null) {
代码示例来源:origin: org.wildfly.security/wildfly-elytron-x500-cert-acme
principalBuilder.addItem(X500AttributeTypeAndValue.create(X500.OID_AT_COMMON_NAME, ASN1Encodable.ofUtf8String(((GeneralName.DNSName) generalNames.get(0)).getName())));
X500Principal dn = principalBuilder.build();
if (keyAlgorithmName == null) {
我是一名优秀的程序员,十分优秀!