at.gv.egiz.pdfas.commandline
Class CommandlineConnectorChooser

java.lang.Object
  extended byat.gv.egiz.pdfas.commandline.CommandlineConnectorChooser

public class CommandlineConnectorChooser
extends Object

Encapsulates the logic of choosing the correct connector for the commandline that can later be created using the ConnectorFactory.

Author:
wprinz

Field Summary
protected static String BKU
           
protected static String MOA
           
 
Constructor Summary
CommandlineConnectorChooser()
           
 
Method Summary
static String chooseCommandlineConnectorForSign(String connectorType)
           
static String chooseCommandlineConnectorForVerify(String connectorType, PdfASID sig_kz, String sig_id, String profile)
           
protected static String chooseDetachedMultipartConnector(String sig_app)
           
protected static String chooseEnvelopingBase64ConnectorHotfix(String sig_app)
           
protected static String chooseEnvelopingBase64ConnectorOld(String sig_app)
           
static boolean needsSigId(String connectorId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BKU

protected static final String BKU
See Also:
Constant Field Values

MOA

protected static final String MOA
See Also:
Constant Field Values
Constructor Detail

CommandlineConnectorChooser

public CommandlineConnectorChooser()
Method Detail

needsSigId

public static boolean needsSigId(String connectorId)

chooseCommandlineConnectorForSign

public static String chooseCommandlineConnectorForSign(String connectorType)
                                                throws ConnectorException
Throws:
ConnectorException

chooseCommandlineConnectorForVerify

public static String chooseCommandlineConnectorForVerify(String connectorType,
                                                         PdfASID sig_kz,
                                                         String sig_id,
                                                         String profile)
                                                  throws ConnectorException
Throws:
ConnectorException

chooseEnvelopingBase64ConnectorOld

protected static String chooseEnvelopingBase64ConnectorOld(String sig_app)
                                                    throws ConnectorException
Throws:
ConnectorException

chooseEnvelopingBase64ConnectorHotfix

protected static String chooseEnvelopingBase64ConnectorHotfix(String sig_app)
                                                       throws ConnectorException
Throws:
ConnectorException

chooseDetachedMultipartConnector

protected static String chooseDetachedMultipartConnector(String sig_app)
                                                  throws ConnectorException
Throws:
ConnectorException


Copyright © 2006-2010. All Rights Reserved.