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 SummaryConstructors
- 
Method SummaryModifier 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 InhibitAnyPolicy extensionReturns the key usageReturns the name constraintsReturns 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 usagesvoidsetInhibitAnyPolicy(InhibitAnyPolicy inhibitAnyPolicy) Sets the InhibitAnyPolicy extensionvoidsetKeyUsage(KeyUsage keyUsage) Sets the key usagevoidsetNameConstraints(NameConstraints nameConstraints) Sets the name constraintsvoidsetOcspNoCheck(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- 
CertificateExtensionspublic CertificateExtensions()Default constructor
 
- 
- 
Method Details- 
getKeyUsage
- 
setKeyUsage
- 
getCertificatePoliciesReturns the certificate policies- Returns:
- CertificatePolicies
 
- 
setCertificatePoliciesSets the certificate policies- Parameters:
- certificatePolicies-- CertificatePolicies
 
- 
getSubjectAlternativeNamesReturns the subject alternative names- Returns:
- SubjectAlternativeNames
 
- 
setSubjectAlternativeNamesSets the subject alternative names- Parameters:
- subjectAlternativeNames-- SubjectAlternativeNames
 
- 
getBasicConstraintsReturns the basic constraints- Returns:
- BasicConstraints
 
- 
setBasicConstraintsSets the basic constraints- Parameters:
- basicConstraints-- BasicConstraints
 
- 
getNameConstraints
- 
setNameConstraintsSets the name constraints- Parameters:
- nameConstraints-- NameConstraints
 
- 
getPolicyConstraintsReturns the policy constraints- Returns:
- PolicyConstraints
 
- 
setPolicyConstraintsSets the policy constrains- Parameters:
- policyConstraints-- PolicyConstraints
 
- 
getExtendedKeyUsageReturns the extended key usages- Returns:
- ExtendedKeyUsages
 
- 
setExtendedKeyUsageGets the extended key usages- Parameters:
- extendedKeyUsage-- ExtendedKeyUsages
 
- 
getCRLDistributionPointsReturns the CRL distribution points- Returns:
- CRLDistributionPoints
 
- 
setCRLDistributionPointsSets the CRL distribution points- Parameters:
- crlDistributionPoints-- CRLDistributionPoints
 
- 
getInhibitAnyPolicyReturns the InhibitAnyPolicy extension- Returns:
- InhibitAnyPolicy
 
- 
setInhibitAnyPolicySets the InhibitAnyPolicy extension- Parameters:
- inhibitAnyPolicy-- InhibitAnyPolicy
 
- 
getAuthorityKeyIdentifierReturns the authority key identifier- Returns:
- AuthorityKeyIdentifier
 
- 
setAuthorityKeyIdentifierSets the authority key identifier- Parameters:
- authorityKeyIdentifier-- AuthorityKeyIdentifier
 
- 
getSubjectKeyIdentifierReturns the subject key identifier- Returns:
- SubjectKeyIdentifier
 
- 
setSubjectKeyIdentifierSets the subject key identifier- Parameters:
- subjectKeyIdentifier-- SubjectKeyIdentifier
 
- 
getAuthorityInformationAccessReturns the authority information access- Returns:
- AuthorityInformationAccess
 
- 
setAuthorityInformationAccessSets the authority information access- Parameters:
- authorityInformationAccess-- AuthorityInformationAccess
 
- 
getOcspNoCheck
- 
setOcspNoCheckSets the ocsp-nocheck value- Parameters:
- ocspNoCheck-- OCSPNoCheck
 
- 
getValidityAssuredShortTermReturns the ext-etsi-valassured-ST-certs value- Returns:
- ValidityAssuredShortTerm
 
- 
setValidityAssuredShortTermSets the ext-etsi-valassured-ST-certs value- Parameters:
- validityAssuredShortTerm-- ValidityAssuredShortTerm
 
- 
getQcStatements
- 
setQcStatementsSets the QcStatements- Parameters:
- qcStatements-- QcStatements
 
- 
getOtherExtensionsReturns a list of other certificate extensions- Returns:
- a list of other CertificateExtension
 
- 
addOtherExtensionAdds another certificate extension- Parameters:
- certificateExtension-- CertificateExtensionto add
 
- 
getAllCertificateExtensionsReturns a list of all certificate extensions- Returns:
- a list of CertificateExtensions
 
 
-