Skip to content

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

get delegation(): DelegationChain

Defined in: packages/identity/src/identity/delegation.ts:323

The Delegation Chain of this identity.

DelegationChain


get derKey(): undefined | Uint8Array<ArrayBufferLike>

Defined in: packages/identity/src/identity/partial.ts:20

The DER-encoded public key of this identity.

undefined | Uint8Array<ArrayBufferLike>

PartialIdentity.derKey


get rawKey(): undefined | Uint8Array<ArrayBufferLike>

Defined in: packages/identity/src/identity/partial.ts:13

The raw public key of this identity.

undefined | Uint8Array<ArrayBufferLike>

PartialIdentity.rawKey

getPrincipal(): Principal

Defined in: packages/identity/src/identity/partial.ts:41

The Principal of this identity.

Principal

PartialIdentity.getPrincipal


getPublicKey(): PublicKey

Defined in: packages/identity/src/identity/partial.ts:34

The inner PublicKey used by this identity.

PublicKey

PartialIdentity.getPublicKey


toDer(): Uint8Array

Defined in: packages/identity/src/identity/partial.ts:27

The DER-encoded public key of this identity.

Uint8Array

PartialIdentity.toDer


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.

Promise<never>

PartialIdentity.transformRequest


static fromDelegation(key, delegation): PartialDelegationIdentity

Defined in: packages/identity/src/identity/delegation.ts:337

Create a PartialDelegationIdentity from a PublicKey and a DelegationChain.

PublicKey

The PublicKey to delegate to.

DelegationChain

a DelegationChain targeting the inner key.

PartialDelegationIdentity