PartialDelegationIdentity
Defined in: packages/identity/src/identity/delegation.ts:317
A partial delegated identity, representing a delegation chain and the public key that it targets
Extends
Section titled “Extends”Accessors
Section titled “Accessors”delegation
Section titled “delegation”Get Signature
Section titled “Get Signature”get delegation():
DelegationChain
Defined in: packages/identity/src/identity/delegation.ts:323
The Delegation Chain of this identity.
Returns
Section titled “Returns”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
>
Inherited from
Section titled “Inherited from”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
>
Inherited from
Section titled “Inherited from”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”Inherited from
Section titled “Inherited from”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”Inherited from
Section titled “Inherited from”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
Inherited from
Section titled “Inherited from”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
>
Inherited from
Section titled “Inherited from”PartialIdentity
.transformRequest
fromDelegation()
Section titled “fromDelegation()”
static
fromDelegation(key
,delegation
):PartialDelegationIdentity
Defined in: packages/identity/src/identity/delegation.ts:337
Create a PartialDelegationIdentity from a PublicKey and a DelegationChain.
Parameters
Section titled “Parameters”The PublicKey to delegate to.
delegation
Section titled “delegation”a DelegationChain targeting the inner key.
Returns
Section titled “Returns”PartialDelegationIdentity