Module jose_jwk_kty_rsa

.

Copyright © 2014-2022, Andrew Bennett

Behaviours: jose_jwk, jose_jwk_kty, jose_jwk_use_enc, jose_jwk_use_sig.

Authors: Andrew Bennett (potatosaladx@gmail.com).

Description

Data Types

key()

key() = #'RSAPrivateKey'{} | #'RSAPublicKey'{}

Function Index

block_encryptor/2
decrypt_private/3
encrypt_public/3
from_der/1
from_der/2
from_key/1
from_map/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_der/1
to_der/2
to_key/1
to_map/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4

Function Details

block_encryptor/2

block_encryptor(KTY, Fields) -> any()

decrypt_private/3

decrypt_private(CipherText, Options, RSAPrivateKey) -> any()

encrypt_public/3

encrypt_public(PlainText, Options, RSAPublicKey) -> any()

from_der/1

from_der(DERBinary) -> any()

from_der/2

from_der(Password, PEMBinary) -> any()

from_key/1

from_key(RSAPrivateKey) -> any()

from_map/1

from_map(F) -> any()

from_pem/1

from_pem(PEMBinary) -> any()

from_pem/2

from_pem(Password, PEMBinary) -> any()

generate_key/1

generate_key(X1) -> any()

generate_key/2

generate_key(KTY, Fields) -> any()

key_encryptor/3

key_encryptor(KTY, Fields, Key) -> any()

sign/3

sign(Message, JWSALG, RSAPrivateKey) -> any()

signer/2

signer(X1, Fields) -> any()

to_der/1

to_der(RSAPrivateKey) -> any()

to_der/2

to_der(Password, RSAPrivateKey) -> any()

to_key/1

to_key(RSAPrivateKey) -> any()

to_map/2

to_map(RSAPrivateKey, F) -> any()

to_pem/1

to_pem(RSAPrivateKey) -> any()

to_pem/2

to_pem(Password, RSAPrivateKey) -> any()

to_public_map/2

to_public_map(K, F) -> any()

to_thumbprint_map/2

to_thumbprint_map(K, F) -> any()

verifier/2

verifier(KTY, Fields) -> any()

verify/4

verify(Message, JWSALG, Signature, RSAPublicKey) -> any()


Generated by EDoc