Get the principal represented by this identity. Normally should be a
Principal.selfAuthenticating()
.
Returns the public key that would match this identity's signature.
Signs a blob of data, with this identity's private key.
Serialize this key to JSON.
Transform a request into a signed version of the request. This is done last after the transforms on the body of a request. The returned object can be anything, but must be serializable to CBOR.
internet computer request to transform
Return private key in a pem file