_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; } }