decodePkcs12 function

Future<Pkcs12Bundle> decodePkcs12(
  1. Uint8List bytes, {
  2. required String password,
  3. Pkcs12Decoder? decoder,
})

Implementation

Future<Pkcs12Bundle> decodePkcs12(
  Uint8List bytes, {
  required String password,
  Pkcs12Decoder? decoder,
}) {
  final effectiveDecoder = decoder ?? defaultPkcs12Decoder;
  return effectiveDecoder.decode(bytes, password: password);
}