cardano-crypto-wrapper-1.8.0.0: Cryptographic primitives used in Byron era of the Cardano project
Safe HaskellNone
LanguageHaskell2010

Cardano.Crypto.Signing.Safe

Synopsis

Documentation

newtype PassPhrase Source #

Instances

Instances details
FromCBOR PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

ToCBOR PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

toCBOR ∷ PassPhrase → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PassPhrase → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PassPhrase] → Size Source #

DecCBOR PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

EncCBOR PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Default PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

def ∷ PassPhrase Source #

NFData PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

rnf ∷ PassPhrase → () #

Buildable PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Monoid PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Semigroup PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Show PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Eq PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

(==) ∷ PassPhrase → PassPhrase → Bool #

(/=) ∷ PassPhrase → PassPhrase → Bool #

Ord PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

ByteArray PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

allocRet ∷ Int → (Ptr p → IO a) → IO (a, PassPhrase) Source #

ByteArrayAccess PassPhrase Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.PassPhrase

Methods

length ∷ PassPhrase → Int Source #

withByteArray ∷ PassPhrase → (Ptr p → IO a) → IO a Source #

copyByteArrayToPtr ∷ PassPhrase → Ptr p → IO () Source #

data SafeSigner Source #

SafeSigner datatype to encapsulate sensitive data

Instances

Instances details
Show SafeSigner Source # 
Instance details

Defined in Cardano.Crypto.Signing.Safe.SafeSigner

emptyPassphrase ∷ PassPhrase Source #

Empty passphrase used in development