UNPKG

@syncfusion/ej2-pdf

Version:

Feature-rich JavaScript PDF library with built-in support for loading and manipulating PDF document.

25 lines (24 loc) 782 B
import { _PdfPublicKeyInformation } from './x509/x509-certificate-key'; /** * Helper that computes and stores a subject key identifier (SHA-1 of the public key). * * @private */ export declare class _PdfSubjectKeyIdentifier { /** * Raw key identifier bytes (SHA-1 digest of subject public key). * * @private * @type {Uint8Array} */ _bytes: Uint8Array; constructor(info: _PdfPublicKeyInformation); /** * Compute the key identifier as SHA-1 over the subject public key bytes. * * @private * @param {_PdfPublicKeyInformation} info - Subject public key information. * @returns {Uint8Array} SHA-1 digest bytes representing the key identifier. */ _generateKeyID(info: _PdfPublicKeyInformation): Uint8Array; }