Enum ecc608_linux::_WriteConfig[][src]

pub enum _WriteConfig {
    Always,
    PubInValid,
    Never,
    Encrypt,
}

Variants

Always

Clear text writes are always permitted on this slot. Slots set to alwaysshould never be used as key storage. Either 4 or 32 bytes may bewritten to this slot

PubInValid

If a validated public key is stored in the slot, writes are prohibited. UseVerify(Invalidate) to invalidate prior to writing. Do not use thismode unless the slot contains a public key.

Never

Writes are never permitted on this slot using the Write command.Slots set to never can still be used as key storage.

Encrypt

Writes to this slot require a properly computed MAC, and the inputdata must be encrypted by the system with WriteKey using theencryption algorithm documented in the Write command description(Section Write Command). 4 byte writes to this slot are prohibited.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.