snowflake-sdk
Version:
Node.js driver for Snowflake
14 lines (13 loc) • 505 B
TypeScript
import asn1 from 'asn1.js';
import { type AlgorithmIdentifier } from 'asn1.js-rfc5280';
export declare const HASH_OID_TO_NAME: Record<string, string>;
interface DecodedRSASSAPSSParams {
hashAlgorithm?: AlgorithmIdentifier;
saltLength?: InstanceType<typeof asn1.bignum>;
}
export declare const RSASSAPSSParamsEntity: asn1.ASN1Entity<DecodedRSASSAPSSParams>;
export declare function parseRSASSAPSSParams(parametersBuffer?: Buffer): {
hashAlgorithm: string;
saltLength: number;
};
export {};