芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/ithemes-security-pro/pro/webauthn/DTO/PublicKey.php
data = $data; } public static function hydrate( array $data ): self { $decoded = []; foreach ( $data as $k => $v ) { $decoded[ $k ] = Base64UrlSafe::decode( $v ); } return new self( $decoded ); } public static function from_cose_key( Key $key ): self { return new self( $key->getData() ); } public function get_data(): array { return $this->data; } public function jsonSerialize(): array { $encoded = []; foreach ( $this->data as $k => $v ) { $encoded[ $k ] = Base64UrlSafe::encode( $v ); } return $encoded; } }