Class CertificateSources
java.lang.Object
com.itextpdf.signatures.validation.context.CertificateSources
Container class, which contains set of single
CertificateSource
values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateSources
all()
CreatesCertificateSources
containing allCertificateSource
values.static CertificateSources
complementOf
(CertificateSources other) CreatesCertificateSources
containing all the elements of this type that are not contained in the specified set.getSet()
Gets encapsulatedEnumSet
containingCertificateSource
elements.static CertificateSources
of
(CertificateSource first, CertificateSource... rest) CreatesCertificateSources
container from severalCertificateSource
values.
-
Method Details
-
of
CreatesCertificateSources
container from severalCertificateSource
values.- Parameters:
-
first
- an element that the set is to contain initially -
rest
- the remaining elements the set is to contain - Returns:
-
CertificateSources
container, containing provided elements
-
all
CreatesCertificateSources
containing allCertificateSource
values.- Returns:
-
CertificateSources
container containing allCertificateSource
values
-
complementOf
CreatesCertificateSources
containing all the elements of this type that are not contained in the specified set.- Parameters:
-
other
- anotherCertificateSources
from whose complement to initialize this container - Returns:
-
the complement of the specified
CertificateSources
.
-
getSet
Gets encapsulatedEnumSet
containingCertificateSource
elements.- Returns:
-
encapsulated
EnumSet
containingCertificateSource
elements
-