be.fgov.ehealth.technicalconnector.signature
Interface SignatureBuilder

All Known Implementing Classes:
CmsSignatureBuilder, XmlSignatureBuilder

public interface SignatureBuilder

interface for building signatures.


Method Summary
 AdvancedElectronicSignatureEnumeration getSupportedAES()
           
 byte[] sign(Credential signatureCredential, byte[] byteArrayToSign)
           
 byte[] sign(Credential signatureCredential, byte[] byteArrayToSign, Map<String,Object> options)
           
 SignatureVerificationResult verify(byte[] content, byte[] signature, Map<String,Object> options)
           
 SignatureVerificationResult verify(byte[] signedByteArray, Map<String,Object> options)
           
 

Method Detail

sign

byte[] sign(Credential signatureCredential,
            byte[] byteArrayToSign)
            throws TechnicalConnectorException
Parameters:
signatureCredential -
byteArrayToSign -
Returns:
Throws:
TechnicalConnectorException

sign

byte[] sign(Credential signatureCredential,
            byte[] byteArrayToSign,
            Map<String,Object> options)
            throws TechnicalConnectorException
Parameters:
signatureCredential -
byteArrayToSign -
options -
Returns:
Throws:
TechnicalConnectorException

verify

SignatureVerificationResult verify(byte[] content,
                                   byte[] signature,
                                   Map<String,Object> options)
                                   throws TechnicalConnectorException
Parameters:
signedByteArray -
signature -
options -
Returns:
Throws:
TechnicalConnectorException

verify

SignatureVerificationResult verify(byte[] signedByteArray,
                                   Map<String,Object> options)
                                   throws TechnicalConnectorException
Parameters:
signedByteArray -
signature -
options -
Returns:
Throws:
TechnicalConnectorException

getSupportedAES

AdvancedElectronicSignatureEnumeration getSupportedAES()
Returns:



Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.