PHP 인터페이스 Jose\Object\JWSInterface

상속: extends Jose\Object\JWTInterface
파일 보기 프로젝트 열기: spomky-labs/jose 0 사용 예제들

공개 메소드들

메소드 설명
addSignatureFromLoadedData ( string $signature, string | null $encoded_protected_headers, array $headers ) : Jose\Object\JWSInterface
addSignatureInformation ( Jose\Object\JWKInterface $signature_key, array $protected_headers, array $headers = [] ) : Jose\Object\JWSInterface
countSignatures ( ) : integer Returns the number of signature associated with the JWS.
getEncodedPayload ( Jose\Object\SignatureInterface $signature ) : string | null
getSignature ( integer $id ) : Jose\Object\SignatureInterface
getSignatures ( ) : Jose\Object\SignatureInterface[] Returns the signature associated with the JWS.
isPayloadDetached ( ) : boolean
toCompactJSON ( integer $id ) : string
toFlattenedJSON ( integer $id ) : string
toJSON ( ) : string
withAttachedPayload ( ) : Jose\Object\JWTInterface
withDetachedPayload ( ) : Jose\Object\JWTInterface

메소드 상세

addSignatureFromLoadedData() 공개 메소드

public addSignatureFromLoadedData ( string $signature, string | null $encoded_protected_headers, array $headers ) : Jose\Object\JWSInterface
$signature string
$encoded_protected_headers string | null
$headers array
리턴 Jose\Object\JWSInterface

addSignatureInformation() 공개 메소드

public addSignatureInformation ( Jose\Object\JWKInterface $signature_key, array $protected_headers, array $headers = [] ) : Jose\Object\JWSInterface
$signature_key Jose\Object\JWKInterface
$protected_headers array
$headers array
리턴 Jose\Object\JWSInterface

countSignatures() 공개 메소드

Returns the number of signature associated with the JWS.
public countSignatures ( ) : integer
리턴 integer

getEncodedPayload() 공개 메소드

public getEncodedPayload ( Jose\Object\SignatureInterface $signature ) : string | null
$signature Jose\Object\SignatureInterface
리턴 string | null

getSignature() 공개 메소드

public getSignature ( integer $id ) : Jose\Object\SignatureInterface
$id integer
리턴 Jose\Object\SignatureInterface

getSignatures() 공개 메소드

Returns the signature associated with the JWS.
public getSignatures ( ) : Jose\Object\SignatureInterface[]
리턴 Jose\Object\SignatureInterface[]

isPayloadDetached() 공개 메소드

public isPayloadDetached ( ) : boolean
리턴 boolean

toCompactJSON() 공개 메소드

public toCompactJSON ( integer $id ) : string
$id integer
리턴 string

toFlattenedJSON() 공개 메소드

public toFlattenedJSON ( integer $id ) : string
$id integer
리턴 string

toJSON() 공개 메소드

public toJSON ( ) : string
리턴 string

withAttachedPayload() 공개 메소드

public withAttachedPayload ( ) : Jose\Object\JWTInterface
리턴 Jose\Object\JWTInterface

withDetachedPayload() 공개 메소드

public withDetachedPayload ( ) : Jose\Object\JWTInterface
리턴 Jose\Object\JWTInterface