Skip to main content

Class: VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48871

Represents a VerifiedNameCertificate.

Implements

Constructors

new VerifiedNameCertificate()

new VerifiedNameCertificate(properties?): VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48877

Constructs a new VerifiedNameCertificate.

Parameters

properties?

IVerifiedNameCertificate

Properties to set

Returns

VerifiedNameCertificate

Properties

details?

optional details: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:48880

VerifiedNameCertificate details.

Implementation of

IVerifiedNameCertificate.details


serverSignature?

optional serverSignature: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:48886

VerifiedNameCertificate serverSignature.

Implementation of

IVerifiedNameCertificate.serverSignature


signature?

optional signature: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:48883

VerifiedNameCertificate signature.

Implementation of

IVerifiedNameCertificate.signature

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:48956

Converts this VerifiedNameCertificate to JSON.

Returns

object

JSON object


create()

static create(properties?): VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48893

Creates a new VerifiedNameCertificate instance using the specified properties.

Parameters

properties?

IVerifiedNameCertificate

Properties to set

Returns

VerifiedNameCertificate

VerifiedNameCertificate instance


decode()

static decode(reader, length?): VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48919

Decodes a VerifiedNameCertificate message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

VerifiedNameCertificate

VerifiedNameCertificate

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48928

Decodes a VerifiedNameCertificate message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

VerifiedNameCertificate

VerifiedNameCertificate

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

Defined in: WAProto/index.d.ts:48901

Encodes the specified VerifiedNameCertificate message. Does not implicitly verify messages.

Parameters

message

IVerifiedNameCertificate

VerifiedNameCertificate message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

Defined in: WAProto/index.d.ts:48909

Encodes the specified VerifiedNameCertificate message, length delimited. Does not implicitly verify messages.

Parameters

message

IVerifiedNameCertificate

VerifiedNameCertificate message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): VerifiedNameCertificate

Defined in: WAProto/index.d.ts:48942

Creates a VerifiedNameCertificate message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

VerifiedNameCertificate

VerifiedNameCertificate


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:48963

Gets the default type url for VerifiedNameCertificate

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

Defined in: WAProto/index.d.ts:48950

Creates a plain object from a VerifiedNameCertificate message. Also converts values to other types if specified.

Parameters

message

VerifiedNameCertificate

VerifiedNameCertificate

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

Defined in: WAProto/index.d.ts:48935

Verifies a VerifiedNameCertificate message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not