PHP 인터페이스 Jose\Factory\JWKFactoryInterface

파일 보기 프로젝트 열기: spomky-labs/jose

공개 메소드들

메소드 설명
createECKey ( array $values ) : Jose\Object\JWKInterface
createFromCertificate ( string $certificate, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromCertificateFile ( string $file, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromJKU ( string $jku, boolean $allow_unsecured_connection = false, Psr\Cache\CacheItemPoolInterface $cache = null, integer | null $ttl = 86400, boolean $allow_http_connection = false ) : Jose\Object\JWKSetInterface
createFromKey ( string $key, null | string $password = null, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromKeyFile ( string $file, null | string $password = null, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromKeySet ( Jose\Object\JWKSetInterface $jwk_set, integer $key_index ) : Jose\Object\JWKInterface
createFromValues ( array $values ) : Jose\Object\JWKInterface | Jose\Object\JWKSetInterface
createFromX509Resource ( resource $res, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromX5C ( array $x5c, array $additional_values = [] ) : Jose\Object\JWKInterface
createFromX5U ( string $x5u, boolean $allow_unsecured_connection = false, Psr\Cache\CacheItemPoolInterface $cache = null, integer | null $ttl = 86400, boolean $allow_http_connection = false ) : Jose\Object\JWKSetInterface
createKey ( array $config ) : Jose\Object\JWKInterface
createKeySets ( array $jwksets = [] ) : Jose\Object\JWKSetInterface
createNoneKey ( array $values ) : Jose\Object\JWKInterface
createOKPKey ( array $values ) : Jose\Object\JWKInterface
createOctKey ( array $values ) : Jose\Object\JWKInterface
createPublicKeySet ( Jose\Object\JWKSetInterface $jwkset ) : Jose\Object\JWKSetInterface
createRSAKey ( array $values ) : Jose\Object\JWKInterface
createRotatableKeySet ( string $filename, array $parameters, integer $nb_keys ) : Jose\Object\JWKSetInterface
createStorableKey ( string $filename, array $parameters ) : Jose\Object\JWKInterface
createStorableKeySet ( string $filename, array $parameters, integer $nb_keys ) : Jose\Object\JWKSetInterface

메소드 상세

createECKey() 공개 정적인 메소드

public static createECKey ( array $values ) : Jose\Object\JWKInterface
$values array Values to configure the key. Must contain at least the index 'crv' with the curve
리턴 Jose\Object\JWKInterface

createFromCertificate() 공개 정적인 메소드

public static createFromCertificate ( string $certificate, array $additional_values = [] ) : Jose\Object\JWKInterface
$certificate string
$additional_values array
리턴 Jose\Object\JWKInterface

createFromCertificateFile() 공개 정적인 메소드

public static createFromCertificateFile ( string $file, array $additional_values = [] ) : Jose\Object\JWKInterface
$file string
$additional_values array
리턴 Jose\Object\JWKInterface

createFromJKU() 공개 정적인 메소드

public static createFromJKU ( string $jku, boolean $allow_unsecured_connection = false, Psr\Cache\CacheItemPoolInterface $cache = null, integer | null $ttl = 86400, boolean $allow_http_connection = false ) : Jose\Object\JWKSetInterface
$jku string
$allow_unsecured_connection boolean
$cache Psr\Cache\CacheItemPoolInterface
$ttl integer | null
$allow_http_connection boolean
리턴 Jose\Object\JWKSetInterface

createFromKey() 공개 정적인 메소드

public static createFromKey ( string $key, null | string $password = null, array $additional_values = [] ) : Jose\Object\JWKInterface
$key string
$password null | string
$additional_values array
리턴 Jose\Object\JWKInterface

createFromKeyFile() 공개 정적인 메소드

public static createFromKeyFile ( string $file, null | string $password = null, array $additional_values = [] ) : Jose\Object\JWKInterface
$file string
$password null | string
$additional_values array
리턴 Jose\Object\JWKInterface

createFromKeySet() 공개 정적인 메소드

public static createFromKeySet ( Jose\Object\JWKSetInterface $jwk_set, integer $key_index ) : Jose\Object\JWKInterface
$jwk_set Jose\Object\JWKSetInterface
$key_index integer
리턴 Jose\Object\JWKInterface

createFromValues() 공개 정적인 메소드

public static createFromValues ( array $values ) : Jose\Object\JWKInterface | Jose\Object\JWKSetInterface
$values array
리턴 Jose\Object\JWKInterface | Jose\Object\JWKSetInterface

createFromX509Resource() 공개 정적인 메소드

public static createFromX509Resource ( resource $res, array $additional_values = [] ) : Jose\Object\JWKInterface
$res resource
$additional_values array
리턴 Jose\Object\JWKInterface

createFromX5C() 공개 정적인 메소드

public static createFromX5C ( array $x5c, array $additional_values = [] ) : Jose\Object\JWKInterface
$x5c array
$additional_values array
리턴 Jose\Object\JWKInterface

createFromX5U() 공개 정적인 메소드

public static createFromX5U ( string $x5u, boolean $allow_unsecured_connection = false, Psr\Cache\CacheItemPoolInterface $cache = null, integer | null $ttl = 86400, boolean $allow_http_connection = false ) : Jose\Object\JWKSetInterface
$x5u string
$allow_unsecured_connection boolean
$cache Psr\Cache\CacheItemPoolInterface
$ttl integer | null
$allow_http_connection boolean
리턴 Jose\Object\JWKSetInterface

createKey() 공개 정적인 메소드

public static createKey ( array $config ) : Jose\Object\JWKInterface
$config array
리턴 Jose\Object\JWKInterface

createKeySets() 공개 정적인 메소드

public static createKeySets ( array $jwksets = [] ) : Jose\Object\JWKSetInterface
$jwksets array
리턴 Jose\Object\JWKSetInterface

createNoneKey() 공개 정적인 메소드

public static createNoneKey ( array $values ) : Jose\Object\JWKInterface
$values array Values to configure the key.
리턴 Jose\Object\JWKInterface

createOKPKey() 공개 정적인 메소드

public static createOKPKey ( array $values ) : Jose\Object\JWKInterface
$values array Values to configure the key. Must contain at least the index 'crv' with the curve
리턴 Jose\Object\JWKInterface

createOctKey() 공개 정적인 메소드

public static createOctKey ( array $values ) : Jose\Object\JWKInterface
$values array Values to configure the key. Must contain at least the index 'size' with the key size in bits
리턴 Jose\Object\JWKInterface

createPublicKeySet() 공개 정적인 메소드

public static createPublicKeySet ( Jose\Object\JWKSetInterface $jwkset ) : Jose\Object\JWKSetInterface
$jwkset Jose\Object\JWKSetInterface
리턴 Jose\Object\JWKSetInterface

createRSAKey() 공개 정적인 메소드

public static createRSAKey ( array $values ) : Jose\Object\JWKInterface
$values array Values to configure the key. Must contain at least the index 'size' with the key size in bits
리턴 Jose\Object\JWKInterface

createRotatableKeySet() 공개 정적인 메소드

public static createRotatableKeySet ( string $filename, array $parameters, integer $nb_keys ) : Jose\Object\JWKSetInterface
$filename string
$parameters array
$nb_keys integer
리턴 Jose\Object\JWKSetInterface

createStorableKey() 공개 정적인 메소드

public static createStorableKey ( string $filename, array $parameters ) : Jose\Object\JWKInterface
$filename string
$parameters array
리턴 Jose\Object\JWKInterface

createStorableKeySet() 공개 정적인 메소드

public static createStorableKeySet ( string $filename, array $parameters, integer $nb_keys ) : Jose\Object\JWKSetInterface
$filename string
$parameters array
$nb_keys integer
리턴 Jose\Object\JWKSetInterface