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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOtherExtension
(CertificateExtension certificateExtension) Adds another certificate extensionReturns 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 valuevoid
setAuthorityInformationAccess
(AuthorityInformationAccess authorityInformationAccess) Sets the authority information accessvoid
setAuthorityKeyIdentifier
(AuthorityKeyIdentifier authorityKeyIdentifier) Sets the authority key identifiervoid
setBasicConstraints
(BasicConstraints basicConstraints) Sets the basic constraintsvoid
setCertificatePolicies
(CertificatePolicies certificatePolicies) Sets the certificate policiesvoid
setCRLDistributionPoints
(CRLDistributionPoints crlDistributionPoints) Sets the CRL distribution pointsvoid
setExtendedKeyUsage
(ExtendedKeyUsages extendedKeyUsage) Gets the extended key usagesvoid
setInhibitAnyPolicy
(InhibitAnyPolicy inhibitAnyPolicy) Sets the InhibitAnyPolicy extensionvoid
setKeyUsage
(KeyUsage keyUsage) Sets the key usagevoid
setNameConstraints
(NameConstraints nameConstraints) Sets the name constraintsvoid
setOcspNoCheck
(OCSPNoCheck ocspNoCheck) Sets the ocsp-nocheck valuevoid
setPolicyConstraints
(PolicyConstraints policyConstraints) Sets the policy constrainsvoid
setQcStatements
(QcStatements qcStatements) Sets the QcStatementsvoid
setSubjectAlternativeNames
(SubjectAlternativeNames subjectAlternativeNames) Sets the subject alternative namesvoid
setSubjectKeyIdentifier
(SubjectKeyIdentifier subjectKeyIdentifier) Sets the subject key identifiervoid
setValidityAssuredShortTerm
(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
-
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
-
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
-CertificateExtension
to add
-