@Role public interface CMSSignedDataVerifier
Modifier and Type | Method and Description |
---|---|
CMSSignedDataVerified |
verify(byte[] signature)
Verify all signature contained in the signature against the embedded data.
|
CMSSignedDataVerified |
verify(byte[] signature,
byte[] data)
Verify all signature contained in the signature against the provided data.
|
CMSSignedDataVerified |
verify(byte[] signature,
byte[] data,
CertificateProvider certificateProvider)
Verify all signature contained in the signature against the provided data.
|
CMSSignedDataVerified |
verify(byte[] signature,
byte[] data,
Collection<CertifiedPublicKey> certificates)
Verify all signature contained in the signature against the provided data.
|
CMSSignedDataVerified |
verify(byte[] signature,
CertificateProvider certificateProvider)
Verify all signature contained in the signature against the embedded data.
|
CMSSignedDataVerified |
verify(byte[] signature,
Collection<CertifiedPublicKey> certificates)
Verify all signature contained in the signature against the embedded data.
|
CMSSignedDataVerified verify(byte[] signature) throws GeneralSecurityException
signature
- the encoded signature to verify.GeneralSecurityException
- on error.CMSSignedDataVerified verify(byte[] signature, Collection<CertifiedPublicKey> certificates) throws GeneralSecurityException
signature
- the encoded signature to verify.certificates
- additional certificates to proceed to the verification.GeneralSecurityException
- on error.CMSSignedDataVerified verify(byte[] signature, CertificateProvider certificateProvider) throws GeneralSecurityException
signature
- the encoded signature to verify.certificateProvider
- provider of additional certificate to proceed to the verification.GeneralSecurityException
- on error.CMSSignedDataVerified verify(byte[] signature, byte[] data) throws GeneralSecurityException
signature
- the encoded signature to verify.data
- the data to check the signature against.GeneralSecurityException
- on error.CMSSignedDataVerified verify(byte[] signature, byte[] data, Collection<CertifiedPublicKey> certificates) throws GeneralSecurityException
signature
- the encoded signature to verify.data
- the data to check the signature against.certificates
- additional certificates to proceed to the verification.GeneralSecurityException
- on error.CMSSignedDataVerified verify(byte[] signature, byte[] data, CertificateProvider certificateProvider) throws GeneralSecurityException
signature
- the encoded signature to verify.data
- the data to check the signature against.certificateProvider
- provider of additional certificate to proceed to the verification.GeneralSecurityException
- on error.Copyright © 2004–2021 XWiki. All rights reserved.