RingJavafor Ring

java.security.cert

52 classes of the module java.base.

Load them with:

using {
	"java.security.cert"
}

All packages

CertCertificate#

abstract · extends Object · java.security.cert.Certificate

Implements: Serializable

Methods

MethodRing callJava overloads
getEncodedgetEncoded()byte[] getEncoded()
getPublicKeygetPublicKey()PublicKey getPublicKey()
getTypegetType()String getType()
verifyverify(key)
verify([key,sigProvider])
verify([ :key = v, :sigProvider = v ])
void verify(PublicKey key)
void verify(PublicKey key, String sigProvider)
void verify(PublicKey key, Provider sigProvider)

The methods and fields of Object are inherited.

CertificateEncodingException#

class · extends CertificateException · java.security.cert.CertificateEncodingException

Constructors

new CertificateEncodingException()
new CertificateEncodingException(Throwable cause)
new CertificateEncodingException(String message)
new CertificateEncodingException(String message, Throwable cause)

Ring: new CertificateEncodingException(args) uses the constructor with the fewest parameters (at least one); new CertificateEncodingException makes the object with the constructor without parameters; the others: (new CertificateEncodingException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of CertificateException are inherited.

CertificateException#

class · extends GeneralSecurityException · java.security.cert.CertificateException

Constructors

new CertificateException()
new CertificateException(Throwable cause)
new CertificateException(String msg)
new CertificateException(String message, Throwable cause)

Ring: new CertificateException(args) uses the constructor with the fewest parameters (at least one); new CertificateException makes the object with the constructor without parameters; the others: (new CertificateException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of GeneralSecurityException are inherited.

CertificateExpiredException#

class · extends CertificateException · java.security.cert.CertificateExpiredException

Constructors

new CertificateExpiredException()
new CertificateExpiredException(String message)

Ring: new CertificateExpiredException(args) uses the constructor with the fewest parameters (at least one); new CertificateExpiredException makes the object with the constructor without parameters; the others: (new CertificateExpiredException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of CertificateException are inherited.

CertificateFactory#

class · extends Object · java.security.cert.CertificateFactory

Methods

MethodRing callJava overloads
generateCertificategenerateCertificate(inStream)Certificate generateCertificate(InputStream inStream)
generateCertificatesgenerateCertificates(inStream)Collection generateCertificates(InputStream inStream)
generateCertPathgenerateCertPath(certificates)
generateCertPath([inStream,encoding])
generateCertPath([ :inStream = v, :encoding = v ])
CertPath generateCertPath(List certificates)
CertPath generateCertPath(InputStream inStream)
CertPath generateCertPath(InputStream inStream, String encoding)
generateCRLgenerateCRL(inStream)CRL generateCRL(InputStream inStream)
generateCRLsgenerateCRLs(inStream)Collection generateCRLs(InputStream inStream)
getCertPathEncodingsgetCertPathEncodings()Iterator getCertPathEncodings()
getInstancegetInstance(type)
getInstance([type,provider])
getInstance([ :type = v, :provider = v ])
static CertificateFactory getInstance(String type)
static CertificateFactory getInstance(String type, Provider provider)
static CertificateFactory getInstance(String type, String provider)
getProvidergetProvider()Provider getProvider()
getTypegetType()String getType()

The methods and fields of Object are inherited.

CertificateFactorySpi#

abstract · extends Object · java.security.cert.CertificateFactorySpi

Methods

MethodRing callJava overloads
engineGenerateCertificateengineGenerateCertificate(inStream)Certificate engineGenerateCertificate(InputStream inStream)
engineGenerateCertificatesengineGenerateCertificates(inStream)Collection engineGenerateCertificates(InputStream inStream)
engineGenerateCertPathengineGenerateCertPath(certificates)
engineGenerateCertPath([inStream,encoding])
engineGenerateCertPath([ :inStream = v, :encoding = v ])
CertPath engineGenerateCertPath(List certificates)
CertPath engineGenerateCertPath(InputStream inStream)
CertPath engineGenerateCertPath(InputStream inStream, String encoding)
engineGenerateCRLengineGenerateCRL(inStream)CRL engineGenerateCRL(InputStream inStream)
engineGenerateCRLsengineGenerateCRLs(inStream)Collection engineGenerateCRLs(InputStream inStream)
engineGetCertPathEncodingsengineGetCertPathEncodings()Iterator engineGetCertPathEncodings()

The methods and fields of Object are inherited.

CertificateNotYetValidException#

class · extends CertificateException · java.security.cert.CertificateNotYetValidException

Constructors

new CertificateNotYetValidException()
new CertificateNotYetValidException(String message)

Ring: new CertificateNotYetValidException(args) uses the constructor with the fewest parameters (at least one); new CertificateNotYetValidException makes the object with the constructor without parameters; the others: (new CertificateNotYetValidException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of CertificateException are inherited.

CertificateParsingException#

class · extends CertificateException · java.security.cert.CertificateParsingException

Constructors

new CertificateParsingException()
new CertificateParsingException(Throwable cause)
new CertificateParsingException(String message)
new CertificateParsingException(String message, Throwable cause)

Ring: new CertificateParsingException(args) uses the constructor with the fewest parameters (at least one); new CertificateParsingException makes the object with the constructor without parameters; the others: (new CertificateParsingException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of CertificateException are inherited.

CertificateRevokedException#

class · extends CertificateException · java.security.cert.CertificateRevokedException

Constructors

new CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map extensions)

Ring: new CertificateRevokedException(args) uses the constructor with the fewest parameters (at least one); new CertificateRevokedException makes the object with the constructor without parameters; the others: (new CertificateRevokedException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getAuthorityNamegetAuthorityName()X500Principal getAuthorityName()
getExtensionsgetExtensions()Map getExtensions()
getInvalidityDategetInvalidityDate()Date getInvalidityDate()
getRevocationDategetRevocationDate()Date getRevocationDate()
getRevocationReasongetRevocationReason()CRLReason getRevocationReason()

The methods and fields of CertificateException are inherited.

CertPath#

abstract · extends Object · java.security.cert.CertPath

Implements: Serializable

Methods

MethodRing callJava overloads
@getEncoded@getEncoded(encoding)byte[] getEncoded(String encoding)
getCertificatesgetCertificates()List getCertificates()
getEncodedgetEncoded()byte[] getEncoded()
getEncodingsgetEncodings()Iterator getEncodings()
getTypegetType()String getType()

The methods and fields of Object are inherited.

CertPathBuilder#

class · extends Object · java.security.cert.CertPathBuilder

Methods

MethodRing callJava overloads
buildbuild(params)CertPathBuilderResult build(CertPathParameters params)
getAlgorithmgetAlgorithm()String getAlgorithm()
getDefaultTypegetDefaultType()static String getDefaultType()
getInstancegetInstance(algorithm)
getInstance([algorithm,provider])
getInstance([ :algorithm = v, :provider = v ])
static CertPathBuilder getInstance(String algorithm)
static CertPathBuilder getInstance(String algorithm, Provider provider)
static CertPathBuilder getInstance(String algorithm, String provider)
getProvidergetProvider()Provider getProvider()
getRevocationCheckergetRevocationChecker()CertPathChecker getRevocationChecker()

The methods and fields of Object are inherited.

CertPathBuilderException#

class · extends GeneralSecurityException · java.security.cert.CertPathBuilderException

Constructors

new CertPathBuilderException()
new CertPathBuilderException(Throwable cause)
new CertPathBuilderException(String msg)
new CertPathBuilderException(String msg, Throwable cause)

Ring: new CertPathBuilderException(args) uses the constructor with the fewest parameters (at least one); new CertPathBuilderException makes the object with the constructor without parameters; the others: (new CertPathBuilderException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of GeneralSecurityException are inherited.

CertPathBuilderResult#

interface · java.security.cert.CertPathBuilderResult

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()
getCertPathgetCertPath()CertPath getCertPath()

CertPathBuilderSpi#

abstract · extends Object · java.security.cert.CertPathBuilderSpi

Methods

MethodRing callJava overloads
engineBuildengineBuild(params)CertPathBuilderResult engineBuild(CertPathParameters params)
engineGetRevocationCheckerengineGetRevocationChecker()CertPathChecker engineGetRevocationChecker()

The methods and fields of Object are inherited.

CertPathChecker#

interface · java.security.cert.CertPathChecker

Methods

MethodRing callJava overloads
@init@init(forward)void init(boolean forward)
checkcheck(cert)void check(Certificate cert)
isForwardCheckingSupportedisForwardCheckingSupported()boolean isForwardCheckingSupported()

CertPathParameters#

interface · java.security.cert.CertPathParameters

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()

CertPathValidator#

class · extends Object · java.security.cert.CertPathValidator

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getDefaultTypegetDefaultType()static String getDefaultType()
getInstancegetInstance(algorithm)
getInstance([algorithm,provider])
getInstance([ :algorithm = v, :provider = v ])
static CertPathValidator getInstance(String algorithm)
static CertPathValidator getInstance(String algorithm, Provider provider)
static CertPathValidator getInstance(String algorithm, String provider)
getProvidergetProvider()Provider getProvider()
getRevocationCheckergetRevocationChecker()CertPathChecker getRevocationChecker()
validatevalidate(certPath,params)CertPathValidatorResult validate(CertPath certPath, CertPathParameters params)

The methods and fields of Object are inherited.

CertPathValidatorException#

class · extends GeneralSecurityException · java.security.cert.CertPathValidatorException

Constructors

new CertPathValidatorException()
new CertPathValidatorException(String msg)
new CertPathValidatorException(Throwable cause)
new CertPathValidatorException(String msg, Throwable cause)
new CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)
new CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason)

Ring: new CertPathValidatorException(args) uses the constructor with the fewest parameters (at least one); new CertPathValidatorException makes the object with the constructor without parameters; the others: (new CertPathValidatorException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCertPathgetCertPath()CertPath getCertPath()
getIndexgetIndex()int getIndex()
getReasongetReason()Reason getReason()

The methods and fields of GeneralSecurityException are inherited.

CertPathValidatorExceptionBasicReason#

enum · extends Enum · java.security.cert.CertPathValidatorException$BasicReason

Implements: CertPathValidatorExceptionReason

Fields

NameTypeAccessIn Ring
UNSPECIFIEDBasicReasonconstant · statico.UNSPECIFIED
EXPIREDBasicReasonconstant · statico.EXPIRED
NOT_YET_VALIDBasicReasonconstant · statico.NOT_YET_VALID
REVOKEDBasicReasonconstant · statico.REVOKED
UNDETERMINED_REVOCATION_STATUSBasicReasonconstant · statico.UNDETERMINED_REVOCATION_STATUS
INVALID_SIGNATUREBasicReasonconstant · statico.INVALID_SIGNATURE
ALGORITHM_CONSTRAINEDBasicReasonconstant · statico.ALGORITHM_CONSTRAINED

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static BasicReason valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static BasicReason[] values()

The methods and fields of Enum are inherited.

CertPathValidatorExceptionReason#

interface · java.security.cert.CertPathValidatorException$Reason

Extends: Serializable

CertPathValidatorResult#

interface · java.security.cert.CertPathValidatorResult

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()

CertPathValidatorSpi#

abstract · extends Object · java.security.cert.CertPathValidatorSpi

Methods

MethodRing callJava overloads
engineGetRevocationCheckerengineGetRevocationChecker()CertPathChecker engineGetRevocationChecker()
engineValidateengineValidate(certPath,params)CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params)

The methods and fields of Object are inherited.

CertSelector#

interface · java.security.cert.CertSelector

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()
matchmatch(cert)boolean match(Certificate cert)

CertStore#

class · extends Object · java.security.cert.CertStore

Methods

MethodRing callJava overloads
getCertificatesgetCertificates(selector)Collection getCertificates(CertSelector selector)
getCertStoreParametersgetCertStoreParameters()CertStoreParameters getCertStoreParameters()
getCRLsgetCRLs(selector)Collection getCRLs(CRLSelector selector)
getDefaultTypegetDefaultType()static String getDefaultType()
getInstancegetInstance([type,params])
getInstance([ :type = v, :params = v ])
getInstance([type,params,provider])
getInstance([ :type = v, :params = v, :provider = v ])
static CertStore getInstance(String type, CertStoreParameters params)
static CertStore getInstance(String type, CertStoreParameters params, String provider)
static CertStore getInstance(String type, CertStoreParameters params, Provider provider)
getProvidergetProvider()Provider getProvider()
getTypegetType()String getType()

The methods and fields of Object are inherited.

CertStoreException#

class · extends GeneralSecurityException · java.security.cert.CertStoreException

Constructors

new CertStoreException()
new CertStoreException(Throwable cause)
new CertStoreException(String msg)
new CertStoreException(String msg, Throwable cause)

Ring: new CertStoreException(args) uses the constructor with the fewest parameters (at least one); new CertStoreException makes the object with the constructor without parameters; the others: (new CertStoreException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of GeneralSecurityException are inherited.

CertStoreParameters#

interface · java.security.cert.CertStoreParameters

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()

CertStoreSpi#

abstract · extends Object · java.security.cert.CertStoreSpi

Methods

MethodRing callJava overloads
engineGetCertificatesengineGetCertificates(selector)Collection engineGetCertificates(CertSelector selector)
engineGetCRLsengineGetCRLs(selector)Collection engineGetCRLs(CRLSelector selector)

The methods and fields of Object are inherited.

CollectionCertStoreParameters#

class · extends Object · java.security.cert.CollectionCertStoreParameters

Implements: CertStoreParameters

Constructors

new CollectionCertStoreParameters()
new CollectionCertStoreParameters(Collection collection)

Ring: new CollectionCertStoreParameters(args) uses the constructor with the fewest parameters (at least one); new CollectionCertStoreParameters makes the object with the constructor without parameters; the others: (new CollectionCertStoreParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
cloneclone()Object clone()
getCollectiongetCollection()Collection getCollection()

The methods and fields of Object are inherited.

CRL#

abstract · extends Object · java.security.cert.CRL

Methods

MethodRing callJava overloads
getTypegetType()String getType()
isRevokedisRevoked(cert)boolean isRevoked(Certificate cert)

The methods and fields of Object are inherited.

CRLException#

class · extends GeneralSecurityException · java.security.cert.CRLException

Constructors

new CRLException()
new CRLException(Throwable cause)
new CRLException(String message)
new CRLException(String message, Throwable cause)

Ring: new CRLException(args) uses the constructor with the fewest parameters (at least one); new CRLException makes the object with the constructor without parameters; the others: (new CRLException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of GeneralSecurityException are inherited.

CRLReason#

enum · extends Enum · java.security.cert.CRLReason

Fields

NameTypeAccessIn Ring
UNSPECIFIEDCRLReasonconstant · statico.UNSPECIFIED
KEY_COMPROMISECRLReasonconstant · statico.KEY_COMPROMISE
CA_COMPROMISECRLReasonconstant · statico.CA_COMPROMISE
AFFILIATION_CHANGEDCRLReasonconstant · statico.AFFILIATION_CHANGED
SUPERSEDEDCRLReasonconstant · statico.SUPERSEDED
CESSATION_OF_OPERATIONCRLReasonconstant · statico.CESSATION_OF_OPERATION
CERTIFICATE_HOLDCRLReasonconstant · statico.CERTIFICATE_HOLD
UNUSEDCRLReasonconstant · statico.UNUSED
REMOVE_FROM_CRLCRLReasonconstant · statico.REMOVE_FROM_CRL
PRIVILEGE_WITHDRAWNCRLReasonconstant · statico.PRIVILEGE_WITHDRAWN
AA_COMPROMISECRLReasonconstant · statico.AA_COMPROMISE

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static CRLReason valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static CRLReason[] values()

The methods and fields of Enum are inherited.

CRLSelector#

interface · java.security.cert.CRLSelector

Extends: Cloneable

Methods

MethodRing callJava overloads
cloneclone()Object clone()
matchmatch(crl)boolean match(CRL crl)

Extension#

interface · java.security.cert.Extension

Methods

MethodRing callJava overloads
encodeencode(out)void encode(OutputStream out)
getIdgetId()String getId()
getValuegetValue()byte[] getValue()
isCriticalisCritical()boolean isCritical()

LDAPCertStoreParameters#

class · extends Object · java.security.cert.LDAPCertStoreParameters

Implements: CertStoreParameters

Constructors

new LDAPCertStoreParameters()
new LDAPCertStoreParameters(String serverName)
new LDAPCertStoreParameters(String serverName, int port)

Ring: new LDAPCertStoreParameters(args) uses the constructor with the fewest parameters (at least one); new LDAPCertStoreParameters makes the object with the constructor without parameters; the others: (new LDAPCertStoreParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
cloneclone()Object clone()
getPortgetPort()int getPort()
getServerNamegetServerName()String getServerName()

The methods and fields of Object are inherited.

PKIXBuilderParameters#

class · extends PKIXParameters · java.security.cert.PKIXBuilderParameters

Constructors

new PKIXBuilderParameters(Set trustAnchors, CertSelector targetConstraints)
new PKIXBuilderParameters(KeyStore keystore, CertSelector targetConstraints)

Ring: new PKIXBuilderParameters(args) uses the constructor with the fewest parameters (at least one); new PKIXBuilderParameters makes the object with the constructor without parameters; the others: (new PKIXBuilderParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getMaxPathLengthgetMaxPathLength()int getMaxPathLength()
setMaxPathLengthsetMaxPathLength(maxPathLength)void setMaxPathLength(int maxPathLength)

The methods and fields of PKIXParameters are inherited.

PKIXCertPathBuilderResult#

class · extends PKIXCertPathValidatorResult · java.security.cert.PKIXCertPathBuilderResult

Implements: CertPathBuilderResult

Constructors

new PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)

Ring: new PKIXCertPathBuilderResult(args) uses the constructor with the fewest parameters (at least one); new PKIXCertPathBuilderResult makes the object with the constructor without parameters; the others: (new PKIXCertPathBuilderResult).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCertPathgetCertPath()CertPath getCertPath()

The methods and fields of PKIXCertPathValidatorResult are inherited.

PKIXCertPathChecker#

abstract · extends Object · java.security.cert.PKIXCertPathChecker

Implements: CertPathChecker, Cloneable

Methods

MethodRing callJava overloads
@init@init(forward)void init(boolean forward)
checkcheck(cert)
check([cert,unresolvedCritExts])
check([ :cert = v, :unresolvedCritExts = v ])
void check(Certificate cert)
void check(Certificate cert, Collection unresolvedCritExts)
cloneclone()Object clone()
getSupportedExtensionsgetSupportedExtensions()Set getSupportedExtensions()
isForwardCheckingSupportedisForwardCheckingSupported()boolean isForwardCheckingSupported()

The methods and fields of Object are inherited.

PKIXCertPathValidatorResult#

class · extends Object · java.security.cert.PKIXCertPathValidatorResult

Implements: CertPathValidatorResult

Constructors

new PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)

Ring: new PKIXCertPathValidatorResult(args) uses the constructor with the fewest parameters (at least one); new PKIXCertPathValidatorResult makes the object with the constructor without parameters; the others: (new PKIXCertPathValidatorResult).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
cloneclone()Object clone()
getPolicyTreegetPolicyTree()PolicyNode getPolicyTree()
getPublicKeygetPublicKey()PublicKey getPublicKey()
getTrustAnchorgetTrustAnchor()TrustAnchor getTrustAnchor()

The methods and fields of Object are inherited.

PKIXParameters#

class · extends Object · java.security.cert.PKIXParameters

Implements: CertPathParameters

Constructors

new PKIXParameters(Set trustAnchors)
new PKIXParameters(KeyStore keystore)

Ring: new PKIXParameters(args) uses the constructor with the fewest parameters (at least one); new PKIXParameters makes the object with the constructor without parameters; the others: (new PKIXParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addCertPathCheckeraddCertPathChecker(checker)void addCertPathChecker(PKIXCertPathChecker checker)
addCertStoreaddCertStore(store)void addCertStore(CertStore store)
cloneclone()Object clone()
getCertPathCheckersgetCertPathCheckers()List getCertPathCheckers()
getCertStoresgetCertStores()List getCertStores()
getDategetDate()Date getDate()
getInitialPoliciesgetInitialPolicies()Set getInitialPolicies()
getPolicyQualifiersRejectedgetPolicyQualifiersRejected()boolean getPolicyQualifiersRejected()
getSigProvidergetSigProvider()String getSigProvider()
getTargetCertConstraintsgetTargetCertConstraints()CertSelector getTargetCertConstraints()
getTrustAnchorsgetTrustAnchors()Set getTrustAnchors()
isAnyPolicyInhibitedisAnyPolicyInhibited()boolean isAnyPolicyInhibited()
isExplicitPolicyRequiredisExplicitPolicyRequired()boolean isExplicitPolicyRequired()
isPolicyMappingInhibitedisPolicyMappingInhibited()boolean isPolicyMappingInhibited()
isRevocationEnabledisRevocationEnabled()boolean isRevocationEnabled()
setAnyPolicyInhibitedsetAnyPolicyInhibited(val)void setAnyPolicyInhibited(boolean val)
setCertPathCheckerssetCertPathCheckers(checkers)void setCertPathCheckers(List checkers)
setCertStoressetCertStores(stores)void setCertStores(List stores)
setDatesetDate(date)void setDate(Date date)
setExplicitPolicyRequiredsetExplicitPolicyRequired(val)void setExplicitPolicyRequired(boolean val)
setInitialPoliciessetInitialPolicies(initialPolicies)void setInitialPolicies(Set initialPolicies)
setPolicyMappingInhibitedsetPolicyMappingInhibited(val)void setPolicyMappingInhibited(boolean val)
setPolicyQualifiersRejectedsetPolicyQualifiersRejected(qualifiersRejected)void setPolicyQualifiersRejected(boolean qualifiersRejected)
setRevocationEnabledsetRevocationEnabled(val)void setRevocationEnabled(boolean val)
setSigProvidersetSigProvider(sigProvider)void setSigProvider(String sigProvider)
setTargetCertConstraintssetTargetCertConstraints(selector)void setTargetCertConstraints(CertSelector selector)
setTrustAnchorssetTrustAnchors(trustAnchors)void setTrustAnchors(Set trustAnchors)

The methods and fields of Object are inherited.

PKIXReason#

enum · extends Enum · java.security.cert.PKIXReason

Implements: CertPathValidatorExceptionReason

Fields

NameTypeAccessIn Ring
NAME_CHAININGPKIXReasonconstant · statico.NAME_CHAINING
INVALID_KEY_USAGEPKIXReasonconstant · statico.INVALID_KEY_USAGE
INVALID_POLICYPKIXReasonconstant · statico.INVALID_POLICY
NO_TRUST_ANCHORPKIXReasonconstant · statico.NO_TRUST_ANCHOR
UNRECOGNIZED_CRIT_EXTPKIXReasonconstant · statico.UNRECOGNIZED_CRIT_EXT
NOT_CA_CERTPKIXReasonconstant · statico.NOT_CA_CERT
PATH_TOO_LONGPKIXReasonconstant · statico.PATH_TOO_LONG
INVALID_NAMEPKIXReasonconstant · statico.INVALID_NAME

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static PKIXReason valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static PKIXReason[] values()

The methods and fields of Enum are inherited.

PKIXRevocationChecker#

abstract · extends PKIXCertPathChecker · java.security.cert.PKIXRevocationChecker

Methods

MethodRing callJava overloads
getOcspExtensionsgetOcspExtensions()List getOcspExtensions()
getOcspRespondergetOcspResponder()URI getOcspResponder()
getOcspResponderCertgetOcspResponderCert()X509Certificate getOcspResponderCert()
getOcspResponsesgetOcspResponses()Map getOcspResponses()
getOptionsgetOptions()Set getOptions()
getSoftFailExceptionsgetSoftFailExceptions()List getSoftFailExceptions()
setOcspExtensionssetOcspExtensions(extensions)void setOcspExtensions(List extensions)
setOcspRespondersetOcspResponder(uri)void setOcspResponder(URI uri)
setOcspResponderCertsetOcspResponderCert(cert)void setOcspResponderCert(X509Certificate cert)
setOcspResponsessetOcspResponses(responses)void setOcspResponses(Map responses)
setOptionssetOptions(options)void setOptions(Set options)

The methods and fields of PKIXCertPathChecker are inherited.

PKIXRevocationCheckerOption#

enum · extends Enum · java.security.cert.PKIXRevocationChecker$Option

Fields

NameTypeAccessIn Ring
ONLY_END_ENTITYOptionconstant · statico.ONLY_END_ENTITY
PREFER_CRLSOptionconstant · statico.PREFER_CRLS
NO_FALLBACKOptionconstant · statico.NO_FALLBACK
SOFT_FAILOptionconstant · statico.SOFT_FAIL

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Option valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Option[] values()

The methods and fields of Enum are inherited.

PolicyNode#

interface · java.security.cert.PolicyNode

Methods

MethodRing callJava overloads
getChildrengetChildren()Iterator getChildren()
getDepthgetDepth()int getDepth()
getExpectedPoliciesgetExpectedPolicies()Set getExpectedPolicies()
getParentgetParent()PolicyNode getParent()
getPolicyQualifiersgetPolicyQualifiers()Set getPolicyQualifiers()
getValidPolicygetValidPolicy()String getValidPolicy()
isCriticalisCritical()boolean isCritical()

PolicyQualifierInfo#

class · extends Object · java.security.cert.PolicyQualifierInfo

Constructors

new PolicyQualifierInfo(byte[] encoded)

Ring: new PolicyQualifierInfo(args) uses the constructor with the fewest parameters (at least one); new PolicyQualifierInfo makes the object with the constructor without parameters; the others: (new PolicyQualifierInfo).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getEncodedgetEncoded()byte[] getEncoded()
getPolicyQualifiergetPolicyQualifier()byte[] getPolicyQualifier()
getPolicyQualifierIdgetPolicyQualifierId()String getPolicyQualifierId()

The methods and fields of Object are inherited.

TrustAnchor#

class · extends Object · java.security.cert.TrustAnchor

Constructors

new TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints)
new TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints)
new TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, byte[] nameConstraints)

Ring: new TrustAnchor(args) uses the constructor with the fewest parameters (at least one); new TrustAnchor makes the object with the constructor without parameters; the others: (new TrustAnchor).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCAgetCA()X500Principal getCA()
getCANamegetCAName()String getCAName()
getCAPublicKeygetCAPublicKey()PublicKey getCAPublicKey()
getNameConstraintsgetNameConstraints()byte[] getNameConstraints()
getTrustedCertgetTrustedCert()X509Certificate getTrustedCert()

The methods and fields of Object are inherited.

URICertStoreParameters#

class final · extends Object · java.security.cert.URICertStoreParameters

Implements: CertStoreParameters

Constructors

new URICertStoreParameters(URI uri)

Ring: new URICertStoreParameters(args) uses the constructor with the fewest parameters (at least one); new URICertStoreParameters makes the object with the constructor without parameters; the others: (new URICertStoreParameters).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
cloneclone()URICertStoreParameters clone()
getURIgetURI()URI getURI()

The methods and fields of Object are inherited.

X509Certificate#

abstract · extends CertCertificate · java.security.cert.X509Certificate

Implements: X509Extension, DEREncodable

Methods

MethodRing callJava overloads
@checkValidity@checkValidity(date)void checkValidity(Date date)
checkValiditycheckValidity()void checkValidity()
getBasicConstraintsgetBasicConstraints()int getBasicConstraints()
getCriticalExtensionOIDsgetCriticalExtensionOIDs()Set getCriticalExtensionOIDs()
getExtendedKeyUsagegetExtendedKeyUsage()List getExtendedKeyUsage()
getExtensionValuegetExtensionValue(oid)byte[] getExtensionValue(String oid)
getIssuerAlternativeNamesgetIssuerAlternativeNames()Collection getIssuerAlternativeNames()
getIssuerDNgetIssuerDN()Principal getIssuerDN()
getIssuerUniqueIDgetIssuerUniqueID()boolean[] getIssuerUniqueID()
getIssuerX500PrincipalgetIssuerX500Principal()X500Principal getIssuerX500Principal()
getKeyUsagegetKeyUsage()boolean[] getKeyUsage()
getNonCriticalExtensionOIDsgetNonCriticalExtensionOIDs()Set getNonCriticalExtensionOIDs()
getNotAftergetNotAfter()Date getNotAfter()
getNotBeforegetNotBefore()Date getNotBefore()
getSerialNumbergetSerialNumber()BigInteger getSerialNumber()
getSigAlgNamegetSigAlgName()String getSigAlgName()
getSigAlgOIDgetSigAlgOID()String getSigAlgOID()
getSigAlgParamsgetSigAlgParams()byte[] getSigAlgParams()
getSignaturegetSignature()byte[] getSignature()
getSubjectAlternativeNamesgetSubjectAlternativeNames()Collection getSubjectAlternativeNames()
getSubjectDNgetSubjectDN()Principal getSubjectDN()
getSubjectUniqueIDgetSubjectUniqueID()boolean[] getSubjectUniqueID()
getSubjectX500PrincipalgetSubjectX500Principal()X500Principal getSubjectX500Principal()
getTBSCertificategetTBSCertificate()byte[] getTBSCertificate()
getVersiongetVersion()int getVersion()
hasUnsupportedCriticalExtensionhasUnsupportedCriticalExtension()boolean hasUnsupportedCriticalExtension()

The methods and fields of CertCertificate are inherited.

X509CertSelector#

class · extends Object · java.security.cert.X509CertSelector

Implements: CertSelector

Constructors

new X509CertSelector()

Ring: new X509CertSelector(args) uses the constructor with the fewest parameters (at least one); new X509CertSelector makes the object with the constructor without parameters; the others: (new X509CertSelector).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addPathToNameaddPathToName(type,name)void addPathToName(int type, byte[] name)
void addPathToName(int type, String name)
addSubjectAlternativeNameaddSubjectAlternativeName(type,name)void addSubjectAlternativeName(int type, String name)
void addSubjectAlternativeName(int type, byte[] name)
cloneclone()Object clone()
getAuthorityKeyIdentifiergetAuthorityKeyIdentifier()byte[] getAuthorityKeyIdentifier()
getBasicConstraintsgetBasicConstraints()int getBasicConstraints()
getCertificategetCertificate()X509Certificate getCertificate()
getCertificateValidgetCertificateValid()Date getCertificateValid()
getExtendedKeyUsagegetExtendedKeyUsage()Set getExtendedKeyUsage()
getIssuergetIssuer()X500Principal getIssuer()
getIssuerAsBytesgetIssuerAsBytes()byte[] getIssuerAsBytes()
getIssuerAsStringgetIssuerAsString()String getIssuerAsString()
getKeyUsagegetKeyUsage()boolean[] getKeyUsage()
getMatchAllSubjectAltNamesgetMatchAllSubjectAltNames()boolean getMatchAllSubjectAltNames()
getNameConstraintsgetNameConstraints()byte[] getNameConstraints()
getPathToNamesgetPathToNames()Collection getPathToNames()
getPolicygetPolicy()Set getPolicy()
getPrivateKeyValidgetPrivateKeyValid()Date getPrivateKeyValid()
getSerialNumbergetSerialNumber()BigInteger getSerialNumber()
getSubjectgetSubject()X500Principal getSubject()
getSubjectAlternativeNamesgetSubjectAlternativeNames()Collection getSubjectAlternativeNames()
getSubjectAsBytesgetSubjectAsBytes()byte[] getSubjectAsBytes()
getSubjectAsStringgetSubjectAsString()String getSubjectAsString()
getSubjectKeyIdentifiergetSubjectKeyIdentifier()byte[] getSubjectKeyIdentifier()
getSubjectPublicKeygetSubjectPublicKey()PublicKey getSubjectPublicKey()
getSubjectPublicKeyAlgIDgetSubjectPublicKeyAlgID()String getSubjectPublicKeyAlgID()
matchmatch(cert)boolean match(Certificate cert)
setAuthorityKeyIdentifiersetAuthorityKeyIdentifier(authorityKeyID)void setAuthorityKeyIdentifier(byte[] authorityKeyID)
setBasicConstraintssetBasicConstraints(minMaxPathLen)void setBasicConstraints(int minMaxPathLen)
setCertificatesetCertificate(cert)void setCertificate(X509Certificate cert)
setCertificateValidsetCertificateValid(certValid)void setCertificateValid(Date certValid)
setExtendedKeyUsagesetExtendedKeyUsage(keyPurposeSet)void setExtendedKeyUsage(Set keyPurposeSet)
setIssuersetIssuer(issuerDN)void setIssuer(String issuerDN)
void setIssuer(X500Principal issuer)
void setIssuer(byte[] issuerDN)
setKeyUsagesetKeyUsage(keyUsage)void setKeyUsage(boolean[] keyUsage)
setMatchAllSubjectAltNamessetMatchAllSubjectAltNames(matchAllNames)void setMatchAllSubjectAltNames(boolean matchAllNames)
setNameConstraintssetNameConstraints(bytes)void setNameConstraints(byte[] bytes)
setPathToNamessetPathToNames(names)void setPathToNames(Collection names)
setPolicysetPolicy(certPolicySet)void setPolicy(Set certPolicySet)
setPrivateKeyValidsetPrivateKeyValid(privateKeyValid)void setPrivateKeyValid(Date privateKeyValid)
setSerialNumbersetSerialNumber(serial)void setSerialNumber(BigInteger serial)
setSubjectsetSubject(subjectDN)void setSubject(String subjectDN)
void setSubject(X500Principal subject)
void setSubject(byte[] subjectDN)
setSubjectAlternativeNamessetSubjectAlternativeNames(names)void setSubjectAlternativeNames(Collection names)
setSubjectKeyIdentifiersetSubjectKeyIdentifier(subjectKeyID)void setSubjectKeyIdentifier(byte[] subjectKeyID)
setSubjectPublicKeysetSubjectPublicKey(key)void setSubjectPublicKey(PublicKey key)
void setSubjectPublicKey(byte[] key)
setSubjectPublicKeyAlgIDsetSubjectPublicKeyAlgID(oid)void setSubjectPublicKeyAlgID(String oid)

The methods and fields of Object are inherited.

X509CRL#

abstract · extends CRL · java.security.cert.X509CRL

Implements: X509Extension, DEREncodable

Methods

MethodRing callJava overloads
getCriticalExtensionOIDsgetCriticalExtensionOIDs()Set getCriticalExtensionOIDs()
getEncodedgetEncoded()byte[] getEncoded()
getExtensionValuegetExtensionValue(oid)byte[] getExtensionValue(String oid)
getIssuerDNgetIssuerDN()Principal getIssuerDN()
getIssuerX500PrincipalgetIssuerX500Principal()X500Principal getIssuerX500Principal()
getNextUpdategetNextUpdate()Date getNextUpdate()
getNonCriticalExtensionOIDsgetNonCriticalExtensionOIDs()Set getNonCriticalExtensionOIDs()
getRevokedCertificategetRevokedCertificate(serialNumber)X509CRLEntry getRevokedCertificate(BigInteger serialNumber)
X509CRLEntry getRevokedCertificate(X509Certificate certificate)
getRevokedCertificatesgetRevokedCertificates()Set getRevokedCertificates()
getSigAlgNamegetSigAlgName()String getSigAlgName()
getSigAlgOIDgetSigAlgOID()String getSigAlgOID()
getSigAlgParamsgetSigAlgParams()byte[] getSigAlgParams()
getSignaturegetSignature()byte[] getSignature()
getTBSCertListgetTBSCertList()byte[] getTBSCertList()
getThisUpdategetThisUpdate()Date getThisUpdate()
getVersiongetVersion()int getVersion()
hasUnsupportedCriticalExtensionhasUnsupportedCriticalExtension()boolean hasUnsupportedCriticalExtension()
verifyverify(key)
verify([key,sigProvider])
verify([ :key = v, :sigProvider = v ])
void verify(PublicKey key)
void verify(PublicKey key, String sigProvider)
void verify(PublicKey key, Provider sigProvider)

The methods and fields of CRL are inherited.

X509CRLEntry#

abstract · extends Object · java.security.cert.X509CRLEntry

Implements: X509Extension

Methods

MethodRing callJava overloads
getCertificateIssuergetCertificateIssuer()X500Principal getCertificateIssuer()
getCriticalExtensionOIDsgetCriticalExtensionOIDs()Set getCriticalExtensionOIDs()
getEncodedgetEncoded()byte[] getEncoded()
getExtensionValuegetExtensionValue(oid)byte[] getExtensionValue(String oid)
getNonCriticalExtensionOIDsgetNonCriticalExtensionOIDs()Set getNonCriticalExtensionOIDs()
getRevocationDategetRevocationDate()Date getRevocationDate()
getRevocationReasongetRevocationReason()CRLReason getRevocationReason()
getSerialNumbergetSerialNumber()BigInteger getSerialNumber()
hasExtensionshasExtensions()boolean hasExtensions()
hasUnsupportedCriticalExtensionhasUnsupportedCriticalExtension()boolean hasUnsupportedCriticalExtension()

The methods and fields of Object are inherited.

X509CRLSelector#

class · extends Object · java.security.cert.X509CRLSelector

Implements: CRLSelector

Constructors

new X509CRLSelector()

Ring: new X509CRLSelector(args) uses the constructor with the fewest parameters (at least one); new X509CRLSelector makes the object with the constructor without parameters; the others: (new X509CRLSelector).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addIssueraddIssuer(issuer)void addIssuer(X500Principal issuer)
addIssuerNameaddIssuerName(name)void addIssuerName(byte[] name)
void addIssuerName(String name)
cloneclone()Object clone()
getCertificateCheckinggetCertificateChecking()X509Certificate getCertificateChecking()
getDateAndTimegetDateAndTime()Date getDateAndTime()
getIssuerNamesgetIssuerNames()Collection getIssuerNames()
getIssuersgetIssuers()Collection getIssuers()
getMaxCRLgetMaxCRL()BigInteger getMaxCRL()
getMinCRLgetMinCRL()BigInteger getMinCRL()
matchmatch(crl)boolean match(CRL crl)
setCertificateCheckingsetCertificateChecking(cert)void setCertificateChecking(X509Certificate cert)
setDateAndTimesetDateAndTime(dateAndTime)void setDateAndTime(Date dateAndTime)
setIssuerNamessetIssuerNames(names)void setIssuerNames(Collection names)
setIssuerssetIssuers(issuers)void setIssuers(Collection issuers)
setMaxCRLNumbersetMaxCRLNumber(maxCRL)void setMaxCRLNumber(BigInteger maxCRL)
setMinCRLNumbersetMinCRLNumber(minCRL)void setMinCRLNumber(BigInteger minCRL)

The methods and fields of Object are inherited.

X509Extension#

interface · java.security.cert.X509Extension

Methods

MethodRing callJava overloads
getCriticalExtensionOIDsgetCriticalExtensionOIDs()Set getCriticalExtensionOIDs()
getExtensionValuegetExtensionValue(oid)byte[] getExtensionValue(String oid)
getNonCriticalExtensionOIDsgetNonCriticalExtensionOIDs()Set getNonCriticalExtensionOIDs()
hasUnsupportedCriticalExtensionhasUnsupportedCriticalExtension()boolean hasUnsupportedCriticalExtension()
RingJava - use Java classes and methods from Ring programs.