@atala/prism-wallet-sdk / Exports / Domain / PublicKey
Class: PublicKey
Domain.PublicKey
Hierarchy
-
↳
PublicKey
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new PublicKey(): PublicKey
Returns
Inherited from
Properties
keySpecification
• Abstract
keySpecification: Map
<string
, string
>
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:146
raw
• Abstract
raw: Uint8Array
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:148
size
• Abstract
size: number
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:147
to
• Abstract
to: Object
Type declaration
Name | Type |
---|---|
Buffer | () => Buffer |
String | (encoding? : BufferEncoding ) => string |
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:149
type
• Abstract
type: KeyTypes
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:145
Accessors
alg
• get
alg(): JWT_ALG
Returns
Inherited from
Key.alg
Defined in
src/domain/models/keyManagement/Key.ts:158
curve
• get
curve(): string
Returns
string
Inherited from
Key.curve
Defined in
src/domain/models/keyManagement/Key.ts:153
value
• get
value(): Uint8Array
Returns
Uint8Array
Defined in
src/domain/models/keyManagement/PublicKey.ts:4
Methods
canVerify
▸ canVerify(): this is VerifiableKey
Returns
this is VerifiableKey
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:180
getEncoded
▸ getEncoded(): Uint8Array
Returns
Uint8Array
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:151
getProperty
▸ getProperty(name
): undefined
| string
Parameters
Name | Type |
---|---|
name | string |
Returns
undefined
| string
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:184
isCurve
▸ isCurve<T
>(curve
): this is T
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
curve | string |
Returns
this is T
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:188
isDerivable
▸ isDerivable(): this is DerivableKey
Returns
this is DerivableKey
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:164
isExportable
▸ isExportable(): this is All
Returns
this is All
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:168
isSignable
▸ isSignable(): this is SignableKey
Returns
this is SignableKey
Inherited from
Defined in
src/domain/models/keyManagement/Key.ts:172
isStorable
▸ isStorable(): this is StorableKey
Returns
this is StorableKey