diff -r 000000000000 -r 4eba9c11703f web/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php Mon Dec 13 18:29:26 2010 +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; + } +}