AtChopsUtil class

Constructors

AtChopsUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

generateAtEncryptionKeyPair({int keySize = 2048}) AtEncryptionKeyPair
Generates AtEncryption asymmetric keypair with default size 2048 bits
generateAtPkamKeyPair({int keySize = 2048}) AtPkamKeyPair
Generates AtEncryption asymmetric keypair with default size 2048 bits
generateECKeyPair() → ECKeypair
Generates EC keypair
generateIVFromBase64String(String ivBase64) InitialisationVector
generateIVLegacy() InitialisationVector
generateRandomIV(int length) InitialisationVector
Generates a random initialisation vector from a given length Length must be 0 to 16
generateRSAKeyPair({int keySize = 2048}) → RSAKeypair
Generates RSA keypair with default size 2048 bits
generateSymmetricKey(EncryptionKeyType keyType) SymmetricKey