cipher/cert_utils library

Classes

EcdsaCert

Constants

kPinnedServerCertPem → const String
kPinnedServerKeyPem → const String

Functions

bigIntToByteData(BigInt bigInt) ByteData
bigIntToUint8List(BigInt bigInt) Uint8List
decodePemToDer(String pem) Uint8List
encodeECPrivateKeyToRaw(ECPrivateKey privateKey) Uint8List
extractEcdsaPublicKeyFromCertificateDer(Uint8List certDer) Uint8List
=========================================================== Certificate public-key extraction
generateSelfSignedCertificate() EcdsaCert
loadEcdsaCertFromPemStrings({required String certPem, required String privateKeyPem}) EcdsaCert
loadPinnedServerCertificate() EcdsaCert