Package eu.europa.esig.dss.diagnostic
Class FoundRevocationsProxy
java.lang.Object
eu.europa.esig.dss.diagnostic.FoundRevocationsProxy
Handles method logic to process
XmlFoundRevocations and returns wrappers-
Constructor Summary
ConstructorsConstructorDescriptionFoundRevocationsProxy(XmlFoundRevocations foundRevocations) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of orphan revocationsReturns a list of all found references for orphan revocationsgetOrphanRevocationsByOrigin(RevocationOrigin originType) Returns a list of allOrphanRevocationWrappers used for the signature validation process with the givenoriginTypeReturns a list of allOrphanRevocationWrappers used for the signature validation process with the given reference originReturns a list of allOrphanRevocationWrappers found in the signature, but not used during the validation process with the giventypeReturns a list of orphan revocation data by the given origin and typegetOrphanRevocationsByTypeAndRefOrigin(RevocationType type, RevocationRefOrigin refOrigin) Returns a list of orphan revocation data by the given reference origin and typeReturns a list of related revocation dataReturns a list of all found references for related revocationsgetRelatedRevocationsByOrigin(RevocationOrigin originType) Returns a list of allRelatedRevocationWrappers used for the signature validation process with the givenoriginTypeReturns a list of allRelatedRevocationWrappers used for the signature validation process with the given revocation originReturns a list of allRelatedRevocationWrappers used for the signature validation process with the giventypeReturns a list of related revocation data by the given origin and typegetRelatedRevocationsByTypeAndRefOrigin(RevocationType type, RevocationRefOrigin refOrigin) Returns a list of related revocation data by the given reference origin and type
-
Constructor Details
-
FoundRevocationsProxy
Default constructor- Parameters:
foundRevocations-XmlFoundRevocations
-
-
Method Details
-
getRelatedRevocationData
Returns a list of related revocation data- Returns:
- a list of
RelatedRevocationWrappers
-
getOrphanRevocationData
Returns a list of orphan revocations- Returns:
- a list of
OrphanRevocationWrappers
-
getRelatedRevocationsByOrigin
Returns a list of allRelatedRevocationWrappers used for the signature validation process with the givenoriginType- Parameters:
originType-RevocationOriginto get values with- Returns:
- list of
RelatedRevocationWrappers
-
getOrphanRevocationsByOrigin
Returns a list of allOrphanRevocationWrappers used for the signature validation process with the givenoriginType- Parameters:
originType-RevocationOriginto get values with- Returns:
- list of
OrphanRevocationWrappers
-
getRelatedRevocationsByRefOrigin
public List<RelatedRevocationWrapper> getRelatedRevocationsByRefOrigin(RevocationRefOrigin refOrigin) Returns a list of allRelatedRevocationWrappers used for the signature validation process with the given revocation origin- Parameters:
refOrigin-RevocationRefOriginto get values with- Returns:
- list of
RelatedRevocationWrappers
-
getOrphanRevocationsByRefOrigin
Returns a list of allOrphanRevocationWrappers used for the signature validation process with the given reference origin- Parameters:
refOrigin-RevocationRefOriginto get values with- Returns:
- list of
OrphanRevocationWrappers
-
getRelatedRevocationsByType
Returns a list of allRelatedRevocationWrappers used for the signature validation process with the giventype- Parameters:
type-RevocationTypeto get values with- Returns:
- list of
RelatedRevocationWrappers
-
getOrphanRevocationsByType
Returns a list of allOrphanRevocationWrappers found in the signature, but not used during the validation process with the giventype- Parameters:
type-RevocationTypeto get values with- Returns:
- list of
OrphanRevocationWrappers
-
getRelatedRevocationRefs
Returns a list of all found references for related revocations- Returns:
- a list of
RevocationRefWrapper
-
getOrphanRevocationRefs
Returns a list of all found references for orphan revocations- Returns:
- a list of
RevocationRefWrapper
-
getRelatedRevocationsByTypeAndOrigin
public List<RelatedRevocationWrapper> getRelatedRevocationsByTypeAndOrigin(RevocationType type, RevocationOrigin origin) Returns a list of related revocation data by the given origin and type- Parameters:
type-RevocationTypetype of the revocation dataorigin-RevocationOriginorigin of the revocation data- Returns:
- a list of
RelatedRevocationWrappers
-
getOrphanRevocationsByTypeAndOrigin
public List<OrphanRevocationWrapper> getOrphanRevocationsByTypeAndOrigin(RevocationType type, RevocationOrigin origin) Returns a list of orphan revocation data by the given origin and type- Parameters:
type-RevocationTypetype of the revocation dataorigin-RevocationOriginorigin of the revocation data- Returns:
- a list of
OrphanRevocationWrappers
-
getRelatedRevocationsByTypeAndRefOrigin
public List<RelatedRevocationWrapper> getRelatedRevocationsByTypeAndRefOrigin(RevocationType type, RevocationRefOrigin refOrigin) Returns a list of related revocation data by the given reference origin and type- Parameters:
type-RevocationTypetype of the revocation datarefOrigin-RevocationRefOriginorigin of a reference of revocation data- Returns:
- a list of
RelatedRevocationWrappers
-
getOrphanRevocationsByTypeAndRefOrigin
public List<OrphanRevocationWrapper> getOrphanRevocationsByTypeAndRefOrigin(RevocationType type, RevocationRefOrigin refOrigin) Returns a list of orphan revocation data by the given reference origin and type- Parameters:
type-RevocationTypetype of the revocation datarefOrigin-RevocationRefOriginreference origin of the revocation data- Returns:
- a list of
OrphanRevocationWrappers
-