Package eu.europa.esig.dss.diagnostic
Class AbstractTokenProxy
java.lang.Object
eu.europa.esig.dss.diagnostic.AbstractTokenProxy
- All Implemented Interfaces:
TokenProxy
- Direct Known Subclasses:
CertificateWrapper
,RevocationWrapper
,SignatureWrapper
,TimestampWrapper
public abstract class AbstractTokenProxy extends Object implements TokenProxy
-
Constructor Summary
Constructors Constructor Description AbstractTokenProxy()
-
Method Summary
-
Constructor Details
-
AbstractTokenProxy
public AbstractTokenProxy()
-
-
Method Details
-
getCurrentBasicSignature
-
getCurrentCertificateChain
-
getCurrentSigningCertificate
-
foundCertificates
Description copied from interface:TokenProxy
Returns FoundCertificatesProxy to access embedded certificates- Specified by:
foundCertificates
in interfaceTokenProxy
- Returns:
FoundCertificatesProxy
-
foundRevocations
Description copied from interface:TokenProxy
Returns FoundRevocationsProxy to access embedded revocation data- Specified by:
foundRevocations
in interfaceTokenProxy
- Returns:
FoundRevocationsProxy
-
getDigestMatchers
- Specified by:
getDigestMatchers
in interfaceTokenProxy
-
getCertificateChain
- Specified by:
getCertificateChain
in interfaceTokenProxy
-
isSignatureIntact
public boolean isSignatureIntact()- Specified by:
isSignatureIntact
in interfaceTokenProxy
-
isSignatureValid
public boolean isSignatureValid()- Specified by:
isSignatureValid
in interfaceTokenProxy
-
getEncryptionAlgorithm
- Specified by:
getEncryptionAlgorithm
in interfaceTokenProxy
-
getDigestAlgorithm
- Specified by:
getDigestAlgorithm
in interfaceTokenProxy
-
getMaskGenerationFunction
- Specified by:
getMaskGenerationFunction
in interfaceTokenProxy
-
getKeyLengthUsedToSignThisToken
- Specified by:
getKeyLengthUsedToSignThisToken
in interfaceTokenProxy
-
getSigningCertificate
- Specified by:
getSigningCertificate
in interfaceTokenProxy
-
getSigningCertificatePublicKey
public byte[] getSigningCertificatePublicKey()- Specified by:
getSigningCertificatePublicKey
in interfaceTokenProxy
-
isSigningCertificateReferencePresent
public boolean isSigningCertificateReferencePresent()- Specified by:
isSigningCertificateReferencePresent
in interfaceTokenProxy
-
isSigningCertificateReferenceUnique
public boolean isSigningCertificateReferenceUnique()- Specified by:
isSigningCertificateReferenceUnique
in interfaceTokenProxy
-
getSigningCertificateReference
- Specified by:
getSigningCertificateReference
in interfaceTokenProxy
-
getSigningCertificateReferences
- Specified by:
getSigningCertificateReferences
in interfaceTokenProxy
-
isTrustedChain
public boolean isTrustedChain()- Specified by:
isTrustedChain
in interfaceTokenProxy
-
isCertificateChainFromTrustedStore
public boolean isCertificateChainFromTrustedStore() -
getBinaries
public abstract byte[] getBinaries() -
toString
-
hashCode
public int hashCode() -
equals
-