> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# Details

> Protobuf class Details generated from WAProto.

Defined in: [WAProto/index.d.ts:9943](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9943)

## Implements

* [`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails)

## Constructors

### new Details()

> **new Details**(`p`?): [`Details`](/proto-reference/NoiseCertificate/classes/Details)

Defined in: [WAProto/index.d.ts:9944](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9944)

#### Parameters

##### p?

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails)

#### Returns

[`Details`](/proto-reference/NoiseCertificate/classes/Details)

## Properties

### expires?

> `optional` **expires**: `null` | `number` | `Long`

Defined in: [WAProto/index.d.ts:9947](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9947)

#### Implementation of

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails).[`expires`](/proto-reference/NoiseCertificate/interfaces/IDetails#expires)

***

### issuer?

> `optional` **issuer**: `null` | `string`

Defined in: [WAProto/index.d.ts:9946](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9946)

#### Implementation of

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails).[`issuer`](/proto-reference/NoiseCertificate/interfaces/IDetails#issuer)

***

### key?

> `optional` **key**: `null` | `Uint8Array`\<`ArrayBufferLike`>

Defined in: [WAProto/index.d.ts:9949](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9949)

#### Implementation of

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails).[`key`](/proto-reference/NoiseCertificate/interfaces/IDetails#key)

***

### serial?

> `optional` **serial**: `null` | `number`

Defined in: [WAProto/index.d.ts:9945](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9945)

#### Implementation of

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails).[`serial`](/proto-reference/NoiseCertificate/interfaces/IDetails#serial)

***

### subject?

> `optional` **subject**: `null` | `string`

Defined in: [WAProto/index.d.ts:9948](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9948)

#### Implementation of

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails).[`subject`](/proto-reference/NoiseCertificate/interfaces/IDetails#subject)

## Methods

### create()

> `static` **create**(`properties`?): [`Details`](/proto-reference/NoiseCertificate/classes/Details)

Defined in: [WAProto/index.d.ts:9950](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9950)

#### Parameters

##### properties?

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails)

#### Returns

[`Details`](/proto-reference/NoiseCertificate/classes/Details)

***

### decode()

> `static` **decode**(`r`, `l`?): [`Details`](/proto-reference/NoiseCertificate/classes/Details)

Defined in: [WAProto/index.d.ts:9952](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9952)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`Details`](/proto-reference/NoiseCertificate/classes/Details)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:9951](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9951)

#### Parameters

##### m

[`IDetails`](/proto-reference/NoiseCertificate/interfaces/IDetails)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`Details`](/proto-reference/NoiseCertificate/classes/Details)

Defined in: [WAProto/index.d.ts:9953](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9953)

#### Parameters

##### d

#### Returns

[`Details`](/proto-reference/NoiseCertificate/classes/Details)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:9956](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9956)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:9955](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9955)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:9954](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L9954)

#### Parameters

##### m

[`Details`](/proto-reference/NoiseCertificate/classes/Details)

##### o?

`IConversionOptions`

#### Returns

`object`
