Class ExtendedKeyUsageExtension

    • Constructor Detail

      • ExtendedKeyUsageExtension

        public ExtendedKeyUsageExtension​(boolean critical,
                                         List<String> keyPurposeIds)
        Construct a new instance. The key purpose OIDs should typically be chosen from the X500.OID_KP_* constants.
        Parameters:
        critical - true to mark this extension as critical, false to mark it as non-critical
        keyPurposeIds - the key purpose OIDs list (must not be null or empty)