PHP 클래스 Omnipay\Alipay\Common\Signer

파일 보기 프로젝트 열기: lokielse/omnipay-alipay 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$encodePolicy
$ignores
$sort

공개 메소드들

메소드 설명
__construct ( array $params = [] )
convertKey ( $key, $type ) : string Convert one line key to standard format
format ( $key, $type ) : string Convert key to standard format
getContentToSign ( )
getIgnores ( ) : array
getParamsToSign ( ) : mixed
setEncodePolicy ( integer $encodePolicy ) : Signer
setIgnores ( array $ignores )
setSort ( boolean $sort ) : Signer
signContentWithRSA ( $content, $privateKey, $alg = OPENSSL_ALGO_SHA1 )
signWithMD5 ( $key )
signWithRSA ( $privateKey, $alg = OPENSSL_ALGO_SHA1 )
verifyWithMD5 ( $content, $sign, $key )
verifyWithRSA ( $content, $sign, $publicKey, $alg = OPENSSL_ALGO_SHA1 )

보호된 메소드들

메소드 설명
sort ( &$params )
unsetKeys ( &$params )

비공개 메소드들

메소드 설명
filter ( $params )
prefix ( $key ) : string Prefix the key path with 'file://'

메소드 상세

__construct() 공개 메소드

public __construct ( array $params = [] )
$params array

convertKey() 공개 메소드

Convert one line key to standard format
public convertKey ( $key, $type ) : string
$key
$type
리턴 string

format() 공개 메소드

Convert key to standard format
public format ( $key, $type ) : string
$key
$type
리턴 string

getContentToSign() 공개 메소드

public getContentToSign ( )

getIgnores() 공개 메소드

public getIgnores ( ) : array
리턴 array

getParamsToSign() 공개 메소드

public getParamsToSign ( ) : mixed
리턴 mixed

setEncodePolicy() 공개 메소드

public setEncodePolicy ( integer $encodePolicy ) : Signer
$encodePolicy integer
리턴 Signer

setIgnores() 공개 메소드

public setIgnores ( array $ignores )
$ignores array

setSort() 공개 메소드

public setSort ( boolean $sort ) : Signer
$sort boolean
리턴 Signer

signContentWithRSA() 공개 메소드

public signContentWithRSA ( $content, $privateKey, $alg = OPENSSL_ALGO_SHA1 )

signWithMD5() 공개 메소드

public signWithMD5 ( $key )

signWithRSA() 공개 메소드

public signWithRSA ( $privateKey, $alg = OPENSSL_ALGO_SHA1 )

sort() 보호된 메소드

protected sort ( &$params )
$params

unsetKeys() 보호된 메소드

protected unsetKeys ( &$params )
$params

verifyWithMD5() 공개 메소드

public verifyWithMD5 ( $content, $sign, $key )

verifyWithRSA() 공개 메소드

public verifyWithRSA ( $content, $sign, $publicKey, $alg = OPENSSL_ALGO_SHA1 )

프로퍼티 상세

$encodePolicy 보호되어 있는 프로퍼티

protected $encodePolicy

$ignores 보호되어 있는 프로퍼티

protected $ignores

$sort 보호되어 있는 프로퍼티

protected $sort