Package eu.europa.esig.dss.diagnostic
Class FoundCertificatesProxy
java.lang.Object
eu.europa.esig.dss.diagnostic.FoundCertificatesProxy
Handles method logic to process
XmlFoundCertificates and returns wrappers-
Constructor Summary
ConstructorsConstructorDescriptionFoundCertificatesProxy(XmlFoundCertificates foundCertificates) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all found references for orphan certificatesReturns a list of orphan certificate references by the given certificate reference originReturns a list of orphan certificatesReturns a list of foundOrphanCertificateTokenWrappers with the givenoriginReturns a list of foundOrphanCertificateTokenWrappers with the given reference originReturns a list of all found references for related certificatesReturns a list of related certificate references by the given certificate reference originReturns a list of related certificatesReturns a list of found relatedRelatedCertificateWrappers with the givenoriginReturns a list of foundRelatedCertificateWrappers with the given reference origin
-
Constructor Details
-
FoundCertificatesProxy
Default constructor- Parameters:
foundCertificates-XmlFoundCertificates
-
-
Method Details
-
getRelatedCertificates
Returns a list of related certificates- Returns:
- a list of
RelatedCertificateWrappers
-
getOrphanCertificates
Returns a list of orphan certificates- Returns:
- a list of
OrphanCertificateWrappers
-
getRelatedCertificatesByOrigin
Returns a list of found relatedRelatedCertificateWrappers with the givenorigin- Parameters:
origin-CertificateOriginto get certificates with- Returns:
- list of
RelatedCertificateWrapper
-
getOrphanCertificatesByOrigin
Returns a list of foundOrphanCertificateTokenWrappers with the givenorigin- Parameters:
origin-CertificateOriginto get certificates with- Returns:
- list of
OrphanCertificateWrapper
-
getRelatedCertificatesByRefOrigin
public List<RelatedCertificateWrapper> getRelatedCertificatesByRefOrigin(CertificateRefOrigin refOrigin) Returns a list of foundRelatedCertificateWrappers with the given reference origin- Parameters:
refOrigin-CertificateRefOriginto get certificates with- Returns:
- list of
RelatedCertificateWrapper
-
getOrphanCertificatesByRefOrigin
public List<OrphanCertificateWrapper> getOrphanCertificatesByRefOrigin(CertificateRefOrigin refOrigin) Returns a list of foundOrphanCertificateTokenWrappers with the given reference origin- Parameters:
refOrigin-CertificateOriginto get certificates with- Returns:
- list of
OrphanCertificateWrapper
-
getRelatedCertificateRefs
Returns a list of all found references for related certificates- Returns:
- a list of
CertificateRefWrapper
-
getOrphanCertificateRefs
Returns a list of all found references for orphan certificates- Returns:
- a list of
CertificateRefWrapper
-
getRelatedCertificateRefsByRefOrigin
public List<CertificateRefWrapper> getRelatedCertificateRefsByRefOrigin(CertificateRefOrigin refOrigin) Returns a list of related certificate references by the given certificate reference origin- Parameters:
refOrigin-CertificateRefOrigin- Returns:
- a list of
CertificateRefWrappers
-
getOrphanCertificateRefsByRefOrigin
public List<CertificateRefWrapper> getOrphanCertificateRefsByRefOrigin(CertificateRefOrigin refOrigin) Returns a list of orphan certificate references by the given certificate reference origin- Parameters:
refOrigin-CertificateRefOrigin- Returns:
- a list of
CertificateRefWrappers
-