cryptographic service provider api