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