javax.security.auth.x500
2 classes of the module java.base.
Load them with:
using {
"javax.security.auth.x500"
}
X500Principal#
class final · extends Object · javax.security.auth.x500.X500Principal
Implements: Principal, Serializable
Constructors
new X500Principal(InputStream is) |
new X500Principal(String name) |
new X500Principal(byte[] name) |
new X500Principal(String name, Map keywordMap) |
Ring: new X500Principal(args) uses the constructor with the fewest parameters (at least one); new X500Principal makes the object with the constructor without parameters; the others: (new X500Principal).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RFC1779 | String | constant · static | o.RFC1779 |
RFC2253 | String | constant · static | o.RFC2253 |
CANONICAL | String | constant · static | o.CANONICAL |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getName | @getName(format)@getName([format,oidMap])@getName([ :format = v, :oidMap = v ]) | String getName(String format)String getName(String format, Map oidMap) |
getEncoded | getEncoded() | byte[] getEncoded() |
getName | getName() | String getName() |
implies | implies(subject) | boolean implies(Subject subject) |
The methods and fields of Object are inherited.
X500PrivateCredential#
class final · extends Object · javax.security.auth.x500.X500PrivateCredential
Implements: Destroyable
Constructors
new X500PrivateCredential(X509Certificate cert, PrivateKey key) |
new X500PrivateCredential(X509Certificate cert, PrivateKey key, String alias) |
Ring: new X500PrivateCredential(args) uses the constructor with the fewest parameters (at least one); new X500PrivateCredential makes the object with the constructor without parameters; the others: (new X500PrivateCredential).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAlias | getAlias() | String getAlias() |
getCertificate | getCertificate() | X509Certificate getCertificate() |
getPrivateKey | getPrivateKey() | PrivateKey getPrivateKey() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
The methods and fields of Object are inherited.