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()StringtoString()
-
Constructor Details
-
AbstractTokenProxy
public AbstractTokenProxy()
-
-
Method Details
-
getCurrentBasicSignature
-
getCurrentCertificateChain
-
getCurrentSigningCertificate
-
getDigestMatchers
- Specified by:
getDigestMatchersin interfaceTokenProxy
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceTokenProxy
-
isSignatureIntact
public boolean isSignatureIntact()- Specified by:
isSignatureIntactin interfaceTokenProxy
-
isSignatureValid
public boolean isSignatureValid()- Specified by:
isSignatureValidin interfaceTokenProxy
-
getEncryptionAlgorithm
- Specified by:
getEncryptionAlgorithmin interfaceTokenProxy
-
getDigestAlgorithm
- Specified by:
getDigestAlgorithmin interfaceTokenProxy
-
getMaskGenerationFunction
- Specified by:
getMaskGenerationFunctionin interfaceTokenProxy
-
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
- 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() -
toString
-
hashCode
public int hashCode() -
equals
-