Class CertificateExtensions
java.lang.Object
eu.europa.esig.dss.model.x509.extension.CertificateExtensions
- All Implemented Interfaces:
Serializable
This class contains a set of certificate extensions processed by the application
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOtherExtension(CertificateExtension certificateExtension) Adds another certificate extensionReturns a list of all certificate extensionsReturns the authority information accessReturns the authority key identifierReturns the basic constraintsReturns the certificate policiesReturns the CRL distribution pointsReturns the extended key usagesReturns the FreshestCRL extensionReturns the InhibitAnyPolicy extensionReturns the key usageReturns the name constraintsReturns the noRevAvail valueReturns the ocsp-nocheck valueReturns a list of other certificate extensionsReturns the policy constraintsReturns the QcStatementsReturns the subject alternative namesReturns the subject key identifierReturns the ext-etsi-valassured-ST-certs valuevoidsetAuthorityInformationAccess(AuthorityInformationAccess authorityInformationAccess) Sets the authority information accessvoidsetAuthorityKeyIdentifier(AuthorityKeyIdentifier authorityKeyIdentifier) Sets the authority key identifiervoidsetBasicConstraints(BasicConstraints basicConstraints) Sets the basic constraintsvoidsetCertificatePolicies(CertificatePolicies certificatePolicies) Sets the certificate policiesvoidsetCRLDistributionPoints(CRLDistributionPoints crlDistributionPoints) Sets the CRL distribution pointsvoidsetExtendedKeyUsage(ExtendedKeyUsages extendedKeyUsage) Gets the extended key usagesvoidsetFreshestCRL(FreshestCRL freshestCRL) Sets the FreshestCRL extensionvoidsetInhibitAnyPolicy(InhibitAnyPolicy inhibitAnyPolicy) Sets the InhibitAnyPolicy extensionvoidsetKeyUsage(KeyUsage keyUsage) Sets the key usagevoidsetNameConstraints(NameConstraints nameConstraints) Sets the name constraintsvoidsetNoRevAvail(NoRevAvail noRevAvail) Sets the noRevAvail valuevoidsetOcspNoCheck(OCSPNoCheck ocspNoCheck) Sets the ocsp-nocheck valuevoidsetPolicyConstraints(PolicyConstraints policyConstraints) Sets the policy constrainsvoidsetQcStatements(QcStatements qcStatements) Sets the QcStatementsvoidsetSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) Sets the subject alternative namesvoidsetSubjectKeyIdentifier(SubjectKeyIdentifier subjectKeyIdentifier) Sets the subject key identifiervoidsetValidityAssuredShortTerm(ValidityAssuredShortTerm validityAssuredShortTerm) Sets the ext-etsi-valassured-ST-certs value
-
Constructor Details
-
CertificateExtensions
public CertificateExtensions()Default constructor
-
-
Method Details
-
getKeyUsage
Returns the key usage- Returns:
KeyUsage
-
setKeyUsage
Sets the key usage- Parameters:
keyUsage-KeyUsage
-
getCertificatePolicies
Returns the certificate policies- Returns:
CertificatePolicies
-
setCertificatePolicies
Sets the certificate policies- Parameters:
certificatePolicies-CertificatePolicies
-
getSubjectAlternativeNames
Returns the subject alternative names- Returns:
SubjectAlternativeNames
-
setSubjectAlternativeNames
Sets the subject alternative names- Parameters:
subjectAlternativeNames-SubjectAlternativeNames
-
getBasicConstraints
Returns the basic constraints- Returns:
BasicConstraints
-
setBasicConstraints
Sets the basic constraints- Parameters:
basicConstraints-BasicConstraints
-
getNameConstraints
Returns the name constraints- Returns:
NameConstraints
-
setNameConstraints
Sets the name constraints- Parameters:
nameConstraints-NameConstraints
-
getPolicyConstraints
Returns the policy constraints- Returns:
PolicyConstraints
-
setPolicyConstraints
Sets the policy constrains- Parameters:
policyConstraints-PolicyConstraints
-
getExtendedKeyUsage
Returns the extended key usages- Returns:
ExtendedKeyUsages
-
setExtendedKeyUsage
Gets the extended key usages- Parameters:
extendedKeyUsage-ExtendedKeyUsages
-
getCRLDistributionPoints
Returns the CRL distribution points- Returns:
CRLDistributionPoints
-
setCRLDistributionPoints
Sets the CRL distribution points- Parameters:
crlDistributionPoints-CRLDistributionPoints
-
getInhibitAnyPolicy
Returns the InhibitAnyPolicy extension- Returns:
InhibitAnyPolicy
-
setInhibitAnyPolicy
Sets the InhibitAnyPolicy extension- Parameters:
inhibitAnyPolicy-InhibitAnyPolicy
-
getFreshestCRL
Returns the FreshestCRL extension- Returns:
FreshestCRL
-
setFreshestCRL
Sets the FreshestCRL extension- Parameters:
freshestCRL-FreshestCRL
-
getAuthorityKeyIdentifier
Returns the authority key identifier- Returns:
AuthorityKeyIdentifier
-
setAuthorityKeyIdentifier
Sets the authority key identifier- Parameters:
authorityKeyIdentifier-AuthorityKeyIdentifier
-
getSubjectKeyIdentifier
Returns the subject key identifier- Returns:
SubjectKeyIdentifier
-
setSubjectKeyIdentifier
Sets the subject key identifier- Parameters:
subjectKeyIdentifier-SubjectKeyIdentifier
-
getAuthorityInformationAccess
Returns the authority information access- Returns:
AuthorityInformationAccess
-
setAuthorityInformationAccess
Sets the authority information access- Parameters:
authorityInformationAccess-AuthorityInformationAccess
-
getOcspNoCheck
Returns the ocsp-nocheck value- Returns:
OCSPNoCheck
-
setOcspNoCheck
Sets the ocsp-nocheck value- Parameters:
ocspNoCheck-OCSPNoCheck
-
getValidityAssuredShortTerm
Returns the ext-etsi-valassured-ST-certs value- Returns:
ValidityAssuredShortTerm
-
setValidityAssuredShortTerm
Sets the ext-etsi-valassured-ST-certs value- Parameters:
validityAssuredShortTerm-ValidityAssuredShortTerm
-
getNoRevAvail
Returns the noRevAvail value- Returns:
NoRevAvail
-
setNoRevAvail
Sets the noRevAvail value- Parameters:
noRevAvail-NoRevAvail
-
getQcStatements
Returns the QcStatements- Returns:
QcStatements
-
setQcStatements
Sets the QcStatements- Parameters:
qcStatements-QcStatements
-
getOtherExtensions
Returns a list of other certificate extensions- Returns:
- a list of other
CertificateExtension
-
addOtherExtension
Adds another certificate extension- Parameters:
certificateExtension-CertificateExtensionto add
-
getAllCertificateExtensions
Returns a list of all certificate extensions- Returns:
- a list of
CertificateExtensions
-