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 CertificateSourcesall()CreatesCertificateSourcescontaining allCertificateSourcevalues.static CertificateSourcescomplementOf(CertificateSources other) CreatesCertificateSourcescontaining all the elements of this type that are not contained in the specified set.getSet()Gets encapsulatedEnumSetcontainingCertificateSourceelements.static CertificateSourcesof(CertificateSource first, CertificateSource... rest) CreatesCertificateSourcescontainer from severalCertificateSourcevalues.
-
Method Details
-
of
CreatesCertificateSourcescontainer from severalCertificateSourcevalues.- Parameters:
-
first- an element that the set is to contain initially -
rest- the remaining elements the set is to contain - Returns:
-
CertificateSourcescontainer, containing provided elements
-
all
CreatesCertificateSourcescontaining allCertificateSourcevalues.- Returns:
-
CertificateSourcescontainer containing allCertificateSourcevalues
-
complementOf
CreatesCertificateSourcescontaining all the elements of this type that are not contained in the specified set.- Parameters:
-
other- anotherCertificateSourcesfrom whose complement to initialize this container - Returns:
-
the complement of the specified
CertificateSources.
-
getSet
Gets encapsulatedEnumSetcontainingCertificateSourceelements.- Returns:
-
encapsulated
EnumSetcontainingCertificateSourceelements
-