PartialIdentity
Defined in: packages/identity/src/identity/partial.ts:7
A partial delegated identity, representing a delegation chain and the public key that it targets
Extended by
Section titled “Extended by”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PartialIdentity(
inner
):PartialIdentity
Defined in: packages/identity/src/identity/partial.ts:57
Parameters
Section titled “Parameters”Returns
Section titled “Returns”PartialIdentity
Accessors
Section titled “Accessors”derKey
Section titled “derKey”Get Signature
Section titled “Get Signature”get derKey():
undefined
|Uint8Array
<ArrayBufferLike
>
Defined in: packages/identity/src/identity/partial.ts:20
The DER-encoded public key of this identity.
Returns
Section titled “Returns”undefined
| Uint8Array
<ArrayBufferLike
>
rawKey
Section titled “rawKey”Get Signature
Section titled “Get Signature”get rawKey():
undefined
|Uint8Array
<ArrayBufferLike
>
Defined in: packages/identity/src/identity/partial.ts:13
The raw public key of this identity.
Returns
Section titled “Returns”undefined
| Uint8Array
<ArrayBufferLike
>
Methods
Section titled “Methods”getPrincipal()
Section titled “getPrincipal()”getPrincipal():
Principal
Defined in: packages/identity/src/identity/partial.ts:41
The Principal of this identity.
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”getPublicKey()
Section titled “getPublicKey()”getPublicKey():
PublicKey
Defined in: packages/identity/src/identity/partial.ts:34
The inner PublicKey used by this identity.
Returns
Section titled “Returns”toDer()
Section titled “toDer()”toDer():
Uint8Array
Defined in: packages/identity/src/identity/partial.ts:27
The DER-encoded public key of this identity.
Returns
Section titled “Returns”Uint8Array
transformRequest()
Section titled “transformRequest()”transformRequest():
Promise
<never
>
Defined in: packages/identity/src/identity/partial.ts:51
Required for the Identity interface, but cannot implemented for just a public key.
Returns
Section titled “Returns”Promise
<never
>