NDNts
    Preparing search index...

    Type Alias PublicSecretKey<I, Asym>

    PublicSecretKey: If<
        Asym,
        CryptoAlgorithm.PublicKey<I>,
        CryptoAlgorithm.SecretKey<I>,
    >

    Pick PublicKey or SecretKey based on whether the algorithm is asymmetric.

    Type Parameters

    • I = any
    • Asym extends boolean = any