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
Modifier and Type Method Description booleanequals(Object obj)abstract byte[]getBinaries()List<CertificateWrapper>getCertificateChain()protected abstract XmlBasicSignaturegetCurrentBasicSignature()protected abstract List<XmlChainItem>getCurrentCertificateChain()protected abstract XmlSigningCertificategetCurrentSigningCertificate()DigestAlgorithmgetDigestAlgorithm()List<XmlDigestMatcher>getDigestMatchers()EncryptionAlgorithmgetEncryptionAlgorithm()StringgetKeyLengthUsedToSignThisToken()MaskGenerationFunctiongetMaskGenerationFunction()CertificateWrappergetSigningCertificate()byte[]getSigningCertificatePublicKey()inthashCode()booleanisAttributePresent()booleanisCertificateChainFromTrustedStore()booleanisDigestValueMatch()booleanisDigestValuePresent()booleanisIssuerSerialMatch()booleanisSignatureIntact()booleanisSignatureValid()booleanisTrustedChain()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.europa.esig.dss.diagnostic.TokenProxy
getId
-
-
-
-
Method Detail
-
getCurrentBasicSignature
protected abstract XmlBasicSignature getCurrentBasicSignature()
-
getCurrentCertificateChain
protected abstract List<XmlChainItem> getCurrentCertificateChain()
-
getCurrentSigningCertificate
protected abstract XmlSigningCertificate getCurrentSigningCertificate()
-
getDigestMatchers
public List<XmlDigestMatcher> getDigestMatchers()
- Specified by:
getDigestMatchersin interfaceTokenProxy
-
getCertificateChain
public List<CertificateWrapper> getCertificateChain()
- Specified by:
getCertificateChainin interfaceTokenProxy
-
isSignatureIntact
public boolean isSignatureIntact()
- Specified by:
isSignatureIntactin interfaceTokenProxy
-
isSignatureValid
public boolean isSignatureValid()
- Specified by:
isSignatureValidin interfaceTokenProxy
-
getEncryptionAlgorithm
public EncryptionAlgorithm getEncryptionAlgorithm()
- Specified by:
getEncryptionAlgorithmin interfaceTokenProxy
-
getDigestAlgorithm
public DigestAlgorithm getDigestAlgorithm()
- Specified by:
getDigestAlgorithmin interfaceTokenProxy
-
getMaskGenerationFunction
public MaskGenerationFunction getMaskGenerationFunction()
- Specified by:
getMaskGenerationFunctionin interfaceTokenProxy
-
getKeyLengthUsedToSignThisToken
public String getKeyLengthUsedToSignThisToken()
- Specified by:
getKeyLengthUsedToSignThisTokenin interfaceTokenProxy
-
isIssuerSerialMatch
public boolean isIssuerSerialMatch()
- Specified by:
isIssuerSerialMatchin interfaceTokenProxy
-
isAttributePresent
public boolean isAttributePresent()
- Specified by:
isAttributePresentin interfaceTokenProxy
-
isDigestValueMatch
public boolean isDigestValueMatch()
- Specified by:
isDigestValueMatchin interfaceTokenProxy
-
isDigestValuePresent
public boolean isDigestValuePresent()
- Specified by:
isDigestValuePresentin interfaceTokenProxy
-
getSigningCertificate
public CertificateWrapper getSigningCertificate()
- Specified by:
getSigningCertificatein interfaceTokenProxy
-
getSigningCertificatePublicKey
public byte[] getSigningCertificatePublicKey()
- Specified by:
getSigningCertificatePublicKeyin interfaceTokenProxy
-
isTrustedChain
public boolean isTrustedChain()
- Specified by:
isTrustedChainin interfaceTokenProxy
-
isCertificateChainFromTrustedStore
public boolean isCertificateChainFromTrustedStore()
-
getBinaries
public abstract byte[] getBinaries()
-
-