@microsoft/ccf-app
crypto
rsaJwkToPem
Variable rsaJwkToPem
Const
rsaJwkToPem
:
(
jwk
:
JsonWebKeyRSAPrivate
)
=>
string
= ccf.crypto.rsaJwkToPem
Converts an RSA private key as JSON Web Key (JWK) object to PEM.
Type declaration
(
jwk
:
JsonWebKeyRSAPrivate
)
:
string
Converts an RSA private key as JSON Web Key (JWK) object to PEM.
Parameters
jwk
:
JsonWebKeyRSAPrivate
RSA private key as JWK
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@microsoft/ccf-app
consensus
get
Last
Committed
Tx
Id
get
Status
For
Tx
Id
get
View
For
Seqno
Transaction
Status
converters
Data
Converter
Typed
Array
Constructor
Json
Compatible
Typed
Array
array
Buffer
bool
checked
Json
float32
float64
int16
int32
int64
int8
json
string
typed
Array
uint16
uint32
uint64
uint8
crypto
digest
eddsa
Jwk
To
Pem
eddsa
Pem
To
Jwk
generate
Aes
Key
generate
Ecdsa
Key
Pair
generate
Eddsa
Key
Pair
generate
Rsa
Key
Pair
is
Valid
X509
Cert
Bundle
is
Valid
X509
Cert
Chain
jwk
To
Pem
pem
To
Jwk
pub
Eddsa
Jwk
To
Pem
pub
Eddsa
Pem
To
Jwk
pub
Jwk
To
Pem
pub
Pem
To
Jwk
pub
Rsa
Jwk
To
Pem
pub
Rsa
Pem
To
Jwk
rsa
Jwk
To
Pem
rsa
Pem
To
Jwk
sign
unwrap
Key
verify
Signature
wrap
Key
Aes
Kwp
Params
Crypto
Key
Pair
Digest
Algorithm
Rsa
Oaep
Aes
Kwp
Params
Rsa
Oaep
Params
Signing
Algorithm
Wrap
Algo
Params
endpoints
All
Of
Authn
Identity
Any
Cert
Authn
Identity
Authn
Identity
Common
Body
Empty
Authn
Identity
Jwt
Authn
Identity
Member
Cert
Authn
Identity
Member
COSE
Sign1
Authn
Identity
Request
Response
User
Cert
Authn
Identity
User
COSE
Sign1
Authn
Identity
Authn
Identity
Endpoint
Fn
Response
Body
Type
set
Apply
Writes
set
Claims
Digest
global
Aes
Kwp
Params
CCF
CCF
Consensus
CCF
Crypto
CCF
Historical
CCF
Rpc
Crypto
Key
Pair
Historical
State
Json
Web
Key
Json
Web
Key
EC
Private
Json
Web
Key
EC
Public
Json
Web
Key
Ed
DSA
Private
Json
Web
Key
Ed
DSA
Public
Json
Web
Key
RSA
Private
Json
Web
Key
RSA
Public
Kv
Map
Kv
Set
Leaf
Components
Proof
Element
Receipt
Rsa
Oaep
Aes
Kwp
Params
Rsa
Oaep
Params
Signing
Algorithm
Snp
Attestation
Snp
Attestation
Result
Tcb
Version
Transaction
Id
Algorithm
Name
Digest
Algorithm
Json
Compatible
Kv
Maps
Proof
Transaction
Status
Wrap
Algo
Params
ccf
snp_
attestation
historical
drop
Cached
States
get
State
Range
historical
State
Historical
State
Proof
Proof
Element
Receipt
kv
Typed
Kv
Map
Typed
Kv
Set
raw
Kv
typed
Kv
typed
Kv
Set
Kv
Map
Kv
Maps
Kv
Set
polyfill
ROOT
All
Of
Authn
Identity
Any
Cert
Authn
Identity
array
Buffer
Authn
Identity
Authn
Identity
Common
Body
bool
checked
Json
Data
Converter
drop
Cached
States
Empty
Authn
Identity
Endpoint
Fn
float32
float64
get
Last
Committed
Tx
Id
get
State
Range
get
Status
For
Tx
Id
get
View
For
Seqno
historical
State
Historical
State
int16
int32
int64
int8
json
Json
Compatible
Jwt
Authn
Identity
Kv
Map
Kv
Maps
Kv
Set
Member
Cert
Authn
Identity
Member
COSE
Sign1
Authn
Identity
Proof
Proof
Element
raw
Kv
Receipt
Request
Response
Response
Body
Type
set
Apply
Writes
set
Claims
Digest
string
Transaction
Status
typed
Array
Typed
Array
Typed
Array
Constructor
typed
Kv
Typed
Kv
Map
typed
Kv
Set
Typed
Kv
Set
uint16
uint32
uint64
uint8
User
Cert
Authn
Identity
User
COSE
Sign1
Authn
Identity
snp_
attestation
verify
Snp
Attestation
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Converts an RSA private key as JSON Web Key (JWK) object to PEM.