Constructors
constructor
- new ValidatorSecretKey(
buffer: Buffer | Uint8Array<ArrayBufferLike>,
): ValidatorSecretKey Parameters
- buffer: Buffer | Uint8Array<ArrayBufferLike>
Methods
hex
- hex(): string
Returns string
sign
- sign(message: Buffer | Uint8Array<ArrayBufferLike>): Buffer
Parameters
- message: Buffer | Uint8Array<ArrayBufferLike>
Returns Buffer
valueOf
- valueOf(): Buffer
Returns Buffer
Static
fromPem
- fromPem(text: string, index?: number): ValidatorSecretKey
Parameters
- text: string
- index: number = 0