InfoCard/Cipher/Pki/Adapter/Abstract.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_InfoCard
- subpackage
- Zend_InfoCard_Cipher
- version
- $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_InfoCard_Cipher_Pki_Adapter_Abstract
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_InfoCard_Cipher_Pki_Adapter_Abstract
- Implements
- Zend_InfoCard_Cipher_Pki_Interface
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_InfoCard
- subpackage
- Zend_InfoCard_Cipher
- Constants
- OAEP_PADDING
- NO_PADDING
- Properties
- $_padding
- Methods
- setPadding
- getPadding
Description
An abstract class for public-key ciphers
Constants
OAEP_PADDING = '1'
OAEP Padding public key encryption
Details
- value
- 1
NO_PADDING = '2'
No padding public key encryption
Details
- value
- 2
Properties
integer $_padding = ''
The type of padding to use
Details
- $_padding
- integer
one of the padding constants in this class
- visibility
- protected
- default
- final
- false
- static
- false
Methods
getPadding(
)
:
integer
Retruns the public-key padding used
Output
- integer
- One of the padding constants in this class
Details
- visibility
- public
- final
- false
- static
- false
setPadding(
integer $padding
)
:
Zend_InfoCard_Pki_Adapter_Abstract
Set the padding of the public key encryption
Arguments
- $padding
- integer
One of the constnats in this class
Output
- Zend_InfoCard_Pki_Adapter_Abstract
Details
- visibility
- public
- final
- false
- static
- false
- throws