PHP 클래스 phpseclib\Common\Functions\ASN1

저자: Jim Wigginton ([email protected])
파일 보기 프로젝트 열기: phpseclib/phpseclib 1 사용 예제들

공개 메소드들

메소드 설명
decodeLength ( string &$string ) : integer DER-decode the length
encodeLength ( integer $length ) : string DER-encode the length

메소드 상세

decodeLength() 정적인 공개 메소드

DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
static public decodeLength ( string &$string ) : integer
$string string
리턴 integer

encodeLength() 정적인 공개 메소드

DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
static public encodeLength ( integer $length ) : string
$length integer
리턴 string