RingJavafor Ring

javax.security.auth.x500

2 classes of the module java.base.

Load them with:

using {
	"javax.security.auth.x500"
}

All packages

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

NameTypeAccessIn Ring
RFC1779Stringconstant · statico.RFC1779
RFC2253Stringconstant · statico.RFC2253
CANONICALStringconstant · statico.CANONICAL

Methods

MethodRing callJava overloads
@getName@getName(format)
@getName([format,oidMap])
@getName([ :format = v, :oidMap = v ])
String getName(String format)
String getName(String format, Map oidMap)
getEncodedgetEncoded()byte[] getEncoded()
getNamegetName()String getName()
impliesimplies(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

MethodRing callJava overloads
destroydestroy()void destroy()
getAliasgetAlias()String getAlias()
getCertificategetCertificate()X509Certificate getCertificate()
getPrivateKeygetPrivateKey()PrivateKey getPrivateKey()
isDestroyedisDestroyed()boolean isDestroyed()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.