Operations

Introduction

This document provides links to full descriptions for all of the operations in the API. The operations are defined in a format-neutral language where types can easily and implicitely be translated to the specific operation implementation language used.

Overview

OperationOpcode
Ping0x0001
PsaGenerateKey0x0002
PsaDestroyKey0x0003
PsaSignHash0x0004
PsaVerifyHash0x0005
PsaImportKey0x0006
PsaExportPublicKey0x0007
ListProviders0x0008
ListOpcodes0x0009
PsaAsymmetricEncrypt0x000A
PsaAsymmetricDecrypt0x000B
PsaExportKey0x000C
PsaGenerateRandom0x000D
ListAuthenticators0x000E
PsaHashCompute0x000F
PsaHashCompare0x0010
PsaAeadEncrypt0x0011
PsaAeadDecrypt0x0012
PsaRawKeyAgreement0x0013
PsaCipherEncrypt0x0014
PsaCipherDecrypt0x0015
PsaMacCompute0x0016
PsaMacVerify0x0017
PsaSignMessage0x0018
PsaVerifyMessage0x0019
ListKeys0x001A
ListClients0x001B
DeleteClient0x001C

Find here the current level of support of those operations in Parsec.

Core Operations

Core operations are non-cryptographic operations supported by the core provider. Set the provider field of the request header to 0 (0x00) to invoke these operations.

Some operations are reserved for administrators. They are marked below with "(admin)". These operations can only be executed by a set of application names chosen by the Parsec administrator. If user applications try to execute those operations, a AdminOperation response status error code will be returned.

Service Health

Service Configuration

PSA Crypto Operations

These operations are all derived from equivalent function definitions in the PSA Crypto API Specification. Most of the documentation in this book directly come from the specification.

Key Management

Message Digests

Message Authentication Codes (MAC)

Unauthenticated Ciphers

Authenticated Encryption with Associated Data (AEAD)

Asymmetric Signature

Asymmetric Encryption

Key Agreement

Random Number Generation

Copyright 2019 Contributors to the Parsec project.