diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,88 @@ +_padding = $padding; + break; + default: + require_once 'Zend/InfoCard/Cipher/Exception.php'; + throw new Zend_InfoCard_Cipher_Exception("Invalid Padding Type Provided"); + break; + } + + return $this; + } + + /** + * Retruns the public-key padding used + * + * @return integer One of the padding constants in this class + */ + public function getPadding() + { + return $this->_padding; + } +}