crypto library

Functions

decodeBytesFromPEM(String pem) Uint8List
Helper function to decode PEM [...]
decodeRSAPrivateKeyFromPEM(dynamic pemString) RSAPrivateKey
Convert Private Key PEM to Object [...]
decodeRSAPublicKeyFromPEM(dynamic pemString) RSAPublicKey
Convert Public Key to PEM [...]
encodeCSRToPem(ASN1Object csr) → dynamic
Convert ASN.1 CSR to PEM [...]
encodeRSAPrivateKeyToPem(RSAPrivateKey privateKey) → dynamic
Convert Private Key to PEM [...]
encodeRSAPublicKeyToPem(RSAPublicKey publicKey) → dynamic
Convert Public Key to PEM [...]
rsaGenerateKeyPair({int bitStrength: 2048}) AsymmetricKeyPair<PublicKey, PrivateKey>
Convenience function to create KeyPair [...]
rsaSign(Uint8List inBytes, RSAPrivateKey privateKey) Uint8List
Convenience function to sign bytes with RSA Private Key [...]