Interface CipherCCMOptions

Hierarchy

Properties

allowHalfOpen?: boolean
authTagLength: number
autoDestroy?: boolean
decodeStrings?: boolean
defaultEncoding?: BufferEncoding
emitClose?: boolean
encoding?: BufferEncoding
highWaterMark?: number
objectMode?: boolean
readableHighWaterMark?: number
readableObjectMode?: boolean
signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

writableCorked?: number
writableHighWaterMark?: number
writableObjectMode?: boolean

Methods

  • Parameters

    • this: "stream".Transform
    • error: Error
    • callback: ((error: Error) => void)
        • (error: Error): void
        • Parameters

          • error: Error

          Returns void

    Returns void

  • Parameters

    • this: "stream".Transform
    • chunk: any
    • encoding: BufferEncoding
    • callback: ((error?: Error) => void)
        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

  • Parameters

    • this: "stream".Transform
    • chunks: { chunk: any; encoding: BufferEncoding }[]
    • callback: ((error?: Error) => void)
        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

Generated using TypeDoc