Package org.xwiki.crypto.script
Class X509NameScriptService
- java.lang.Object
-
- org.xwiki.crypto.script.X509NameScriptService
-
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component @Named("crypto.x509name") @Singleton public class X509NameScriptService extends Object implements org.xwiki.script.service.ScriptService
Helper script service to create X509 names.- Since:
- 8.4RC1
- Version:
- $Id: f81312ad4b56937542a85d64c4b48b0bd2ff4aa7 $
-
-
Constructor Summary
Constructors Constructor Description X509NameScriptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xwiki.crypto.pkix.params.x509certificate.extension.X509DirectoryName
createX509DirectoryName(String dn)
Create a newX509DirectoryName
.org.xwiki.crypto.pkix.params.x509certificate.extension.X509IpAddress
createX509IpAddress(String ip)
Create a newX509IpAddress
.org.xwiki.crypto.pkix.params.x509certificate.extension.X509Rfc822Name
createX509Rfc822Name(String email)
Create a newX509Rfc822Name
.org.xwiki.crypto.pkix.params.x509certificate.extension.X509URI
createX509URI(String uri)
Create a newX509URI
.
-
-
-
Field Detail
-
ROLEHINT
public static final String ROLEHINT
The role hint of this component.- See Also:
- Constant Field Values
-
-
Method Detail
-
createX509Rfc822Name
public org.xwiki.crypto.pkix.params.x509certificate.extension.X509Rfc822Name createX509Rfc822Name(String email)
Create a newX509Rfc822Name
.- Parameters:
email
- the name.- Returns:
- an typed
X509GeneralName
-
createX509DirectoryName
public org.xwiki.crypto.pkix.params.x509certificate.extension.X509DirectoryName createX509DirectoryName(String dn)
Create a newX509DirectoryName
.- Parameters:
dn
- the name.- Returns:
- an typed
X509GeneralName
-
createX509IpAddress
public org.xwiki.crypto.pkix.params.x509certificate.extension.X509IpAddress createX509IpAddress(String ip)
Create a newX509IpAddress
.- Parameters:
ip
- the name.- Returns:
- an typed
X509GeneralName
-
createX509URI
public org.xwiki.crypto.pkix.params.x509certificate.extension.X509URI createX509URI(String uri)
Create a newX509URI
.- Parameters:
uri
- the name.- Returns:
- an typed
X509GeneralName
-
-