Package eu.europa.esig.dss.diagnostic
Interface TokenProxy
- All Known Implementing Classes:
AbstractTokenProxy,CertificateRevocationWrapper,CertificateWrapper,RelatedCertificateWrapper,RelatedRevocationWrapper,RevocationWrapper,SignatureWrapper,TimestampWrapper
public interface TokenProxy
-
Method Summary
Modifier and Type Method Description FoundCertificatesProxyfoundCertificates()Returns FoundCertificatesProxy to access embedded certificatesFoundRevocationsProxyfoundRevocations()Returns FoundRevocationsProxy to access embedded revocation dataList<CertificateWrapper>getCertificateChain()DigestAlgorithmgetDigestAlgorithm()List<XmlDigestMatcher>getDigestMatchers()EncryptionAlgorithmgetEncryptionAlgorithm()StringgetId()StringgetKeyLengthUsedToSignThisToken()MaskGenerationFunctiongetMaskGenerationFunction()CertificateWrappergetSigningCertificate()byte[]getSigningCertificatePublicKey()CertificateRefWrappergetSigningCertificateReference()List<CertificateRefWrapper>getSigningCertificateReferences()booleanisSignatureIntact()booleanisSignatureValid()booleanisSigningCertificateReferencePresent()booleanisSigningCertificateReferenceUnique()booleanisTrustedChain()
-
Method Details
-
getId
String getId() -
isSignatureIntact
boolean isSignatureIntact() -
isSignatureValid
boolean isSignatureValid() -
getDigestAlgorithm
DigestAlgorithm getDigestAlgorithm() -
getEncryptionAlgorithm
EncryptionAlgorithm getEncryptionAlgorithm() -
getMaskGenerationFunction
MaskGenerationFunction getMaskGenerationFunction() -
getKeyLengthUsedToSignThisToken
String getKeyLengthUsedToSignThisToken() -
getSigningCertificate
CertificateWrapper getSigningCertificate() -
isSigningCertificateReferencePresent
boolean isSigningCertificateReferencePresent() -
isSigningCertificateReferenceUnique
boolean isSigningCertificateReferenceUnique() -
getSigningCertificateReference
CertificateRefWrapper getSigningCertificateReference() -
getSigningCertificateReferences
List<CertificateRefWrapper> getSigningCertificateReferences() -
getSigningCertificatePublicKey
byte[] getSigningCertificatePublicKey() -
getCertificateChain
List<CertificateWrapper> getCertificateChain() -
isTrustedChain
boolean isTrustedChain() -
getDigestMatchers
List<XmlDigestMatcher> getDigestMatchers() -
foundCertificates
FoundCertificatesProxy foundCertificates()Returns FoundCertificatesProxy to access embedded certificates- Returns:
FoundCertificatesProxy
-
foundRevocations
FoundRevocationsProxy foundRevocations()Returns FoundRevocationsProxy to access embedded revocation data- Returns:
FoundRevocationsProxy
-