Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
< Messages relating to signatures >
Synopsis
- data UtcTime = UtcTime {
- _utcTime_year :: !Word16
- _utcTime_month :: !Word8
- _utcTime_day :: !Word8
- _utcTime_hours :: !Word8
- _utcTime_minutes :: !Word8
- _utcTime_seconds :: !Word8
- _utcTime_ns :: !Word32
- data ECDSASignature = ECDSASignature {}
- data MsgEcdsaCertificate = MsgEcdsaCertificate {}
- data MsgCertificateChain = MsgCertificateChain {}
- data MsgCertificateChainDep = MsgCertificateChainDep {}
- data MsgAesCmacSignature = MsgAesCmacSignature {}
- data MsgEcdsaSignature = MsgEcdsaSignature {}
- data MsgEcdsaSignatureDepB = MsgEcdsaSignatureDepB {
- _msgEcdsaSignatureDepB_flags :: !Word8
- _msgEcdsaSignatureDepB_stream_counter :: !Word8
- _msgEcdsaSignatureDepB_on_demand_counter :: !Word8
- _msgEcdsaSignatureDepB_certificate_id :: ![Word8]
- _msgEcdsaSignatureDepB_n_signature_bytes :: !Word8
- _msgEcdsaSignatureDepB_signature :: ![Word8]
- _msgEcdsaSignatureDepB_signed_messages :: ![Word8]
- data MsgEcdsaSignatureDepA = MsgEcdsaSignatureDepA {}
- data MsgEd25519CertificateDep = MsgEd25519CertificateDep {}
- data MsgEd25519SignatureDepA = MsgEd25519SignatureDepA {}
- data MsgEd25519SignatureDepB = MsgEd25519SignatureDepB {}
- msgEcdsaCertificate :: Word16
- msgCertificateChain :: Word16
- msgCertificateChainDep :: Word16
- msgAesCmacSignature :: Word16
- msgEcdsaSignature :: Word16
- msgEcdsaSignatureDepB :: Word16
- msgEcdsaSignatureDepA :: Word16
- msgEd25519CertificateDep :: Word16
- msgEd25519SignatureDepA :: Word16
- msgEd25519SignatureDepB :: Word16
- utcTime_day :: Lens' UtcTime Word8
- utcTime_hours :: Lens' UtcTime Word8
- utcTime_minutes :: Lens' UtcTime Word8
- utcTime_month :: Lens' UtcTime Word8
- utcTime_ns :: Lens' UtcTime Word32
- utcTime_seconds :: Lens' UtcTime Word8
- utcTime_year :: Lens' UtcTime Word16
- eCDSASignature_data :: Lens' ECDSASignature [Word8]
- eCDSASignature_len :: Lens' ECDSASignature Word8
- msgEcdsaCertificate_certificate_bytes :: Lens' MsgEcdsaCertificate [Word8]
- msgEcdsaCertificate_certificate_id :: Lens' MsgEcdsaCertificate [Word8]
- msgEcdsaCertificate_flags :: Lens' MsgEcdsaCertificate Word8
- msgEcdsaCertificate_n_msg :: Lens' MsgEcdsaCertificate Word8
- msgCertificateChain_corrections_certificate :: Lens' MsgCertificateChain [Word8]
- msgCertificateChain_expiration :: Lens' MsgCertificateChain UtcTime
- msgCertificateChain_intermediate_certificate :: Lens' MsgCertificateChain [Word8]
- msgCertificateChain_root_certificate :: Lens' MsgCertificateChain [Word8]
- msgCertificateChain_signature :: Lens' MsgCertificateChain ECDSASignature
- msgCertificateChainDep_corrections_certificate :: Lens' MsgCertificateChainDep [Word8]
- msgCertificateChainDep_expiration :: Lens' MsgCertificateChainDep UtcTime
- msgCertificateChainDep_intermediate_certificate :: Lens' MsgCertificateChainDep [Word8]
- msgCertificateChainDep_root_certificate :: Lens' MsgCertificateChainDep [Word8]
- msgCertificateChainDep_signature :: Lens' MsgCertificateChainDep [Word8]
- msgAesCmacSignature_certificate_id :: Lens' MsgAesCmacSignature [Word8]
- msgAesCmacSignature_flags :: Lens' MsgAesCmacSignature Word8
- msgAesCmacSignature_on_demand_counter :: Lens' MsgAesCmacSignature Word8
- msgAesCmacSignature_signature :: Lens' MsgAesCmacSignature [Word8]
- msgAesCmacSignature_signed_messages :: Lens' MsgAesCmacSignature [Word8]
- msgAesCmacSignature_stream_counter :: Lens' MsgAesCmacSignature Word8
- msgEcdsaSignature_certificate_id :: Lens' MsgEcdsaSignature [Word8]
- msgEcdsaSignature_flags :: Lens' MsgEcdsaSignature Word8
- msgEcdsaSignature_on_demand_counter :: Lens' MsgEcdsaSignature Word8
- msgEcdsaSignature_signature :: Lens' MsgEcdsaSignature ECDSASignature
- msgEcdsaSignature_signed_messages :: Lens' MsgEcdsaSignature [Word8]
- msgEcdsaSignature_stream_counter :: Lens' MsgEcdsaSignature Word8
- msgEcdsaSignatureDepB_certificate_id :: Lens' MsgEcdsaSignatureDepB [Word8]
- msgEcdsaSignatureDepB_flags :: Lens' MsgEcdsaSignatureDepB Word8
- msgEcdsaSignatureDepB_n_signature_bytes :: Lens' MsgEcdsaSignatureDepB Word8
- msgEcdsaSignatureDepB_on_demand_counter :: Lens' MsgEcdsaSignatureDepB Word8
- msgEcdsaSignatureDepB_signature :: Lens' MsgEcdsaSignatureDepB [Word8]
- msgEcdsaSignatureDepB_signed_messages :: Lens' MsgEcdsaSignatureDepB [Word8]
- msgEcdsaSignatureDepB_stream_counter :: Lens' MsgEcdsaSignatureDepB Word8
- msgEcdsaSignatureDepA_certificate_id :: Lens' MsgEcdsaSignatureDepA [Word8]
- msgEcdsaSignatureDepA_flags :: Lens' MsgEcdsaSignatureDepA Word8
- msgEcdsaSignatureDepA_on_demand_counter :: Lens' MsgEcdsaSignatureDepA Word8
- msgEcdsaSignatureDepA_signature :: Lens' MsgEcdsaSignatureDepA [Word8]
- msgEcdsaSignatureDepA_signed_messages :: Lens' MsgEcdsaSignatureDepA [Word8]
- msgEcdsaSignatureDepA_stream_counter :: Lens' MsgEcdsaSignatureDepA Word8
- msgEd25519CertificateDep_certificate_bytes :: Lens' MsgEd25519CertificateDep [Word8]
- msgEd25519CertificateDep_fingerprint :: Lens' MsgEd25519CertificateDep [Word8]
- msgEd25519CertificateDep_n_msg :: Lens' MsgEd25519CertificateDep Word8
- msgEd25519SignatureDepA_fingerprint :: Lens' MsgEd25519SignatureDepA [Word8]
- msgEd25519SignatureDepA_signature :: Lens' MsgEd25519SignatureDepA [Word8]
- msgEd25519SignatureDepA_signed_messages :: Lens' MsgEd25519SignatureDepA [Word32]
- msgEd25519SignatureDepB_fingerprint :: Lens' MsgEd25519SignatureDepB [Word8]
- msgEd25519SignatureDepB_on_demand_counter :: Lens' MsgEd25519SignatureDepB Word8
- msgEd25519SignatureDepB_signature :: Lens' MsgEd25519SignatureDepB [Word8]
- msgEd25519SignatureDepB_signed_messages :: Lens' MsgEd25519SignatureDepB [Word32]
- msgEd25519SignatureDepB_stream_counter :: Lens' MsgEd25519SignatureDepB Word8
Documentation
UtcTime | |
|
data ECDSASignature Source #
ECDSASignature | |
|
Instances
FromJSON ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing parseJSON :: Value -> Parser ECDSASignature # parseJSONList :: Value -> Parser [ECDSASignature] # | |
ToJSON ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing toJSON :: ECDSASignature -> Value # toEncoding :: ECDSASignature -> Encoding # toJSONList :: [ECDSASignature] -> Value # toEncodingList :: [ECDSASignature] -> Encoding # omitField :: ECDSASignature -> Bool # | |
Read ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing readsPrec :: Int -> ReadS ECDSASignature # readList :: ReadS [ECDSASignature] # | |
Show ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing showsPrec :: Int -> ECDSASignature -> ShowS # show :: ECDSASignature -> String # showList :: [ECDSASignature] -> ShowS # | |
Binary ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing | |
Eq ECDSASignature Source # | |
Defined in SwiftNav.SBP.Signing (==) :: ECDSASignature -> ECDSASignature -> Bool # (/=) :: ECDSASignature -> ECDSASignature -> Bool # |
data MsgEcdsaCertificate Source #
SBP class for message MSG_ECDSA_CERTIFICATE (0x0C04).
A DER encoded x.509 ECDSA-256 certificate (using curve secp256r1).
MsgEcdsaCertificate | |
|
Instances
data MsgCertificateChain Source #
MsgCertificateChain | |
|
Instances
data MsgCertificateChainDep Source #
SBP class for message MSG_CERTIFICATE_CHAIN_DEP (0x0C05).
Deprecated.
MsgCertificateChainDep | |
|
Instances
FromJSON MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing | |
ToJSON MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing toJSON :: MsgCertificateChainDep -> Value # toEncoding :: MsgCertificateChainDep -> Encoding # toJSONList :: [MsgCertificateChainDep] -> Value # toEncodingList :: [MsgCertificateChainDep] -> Encoding # omitField :: MsgCertificateChainDep -> Bool # | |
Read MsgCertificateChainDep Source # | |
Show MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing showsPrec :: Int -> MsgCertificateChainDep -> ShowS # show :: MsgCertificateChainDep -> String # showList :: [MsgCertificateChainDep] -> ShowS # | |
Binary MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing put :: MsgCertificateChainDep -> Put # get :: Get MsgCertificateChainDep # putList :: [MsgCertificateChainDep] -> Put # | |
Eq MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing | |
ToSBP MsgCertificateChainDep Source # | |
Defined in SwiftNav.SBP.Signing |
data MsgAesCmacSignature Source #
SBP class for message MSG_AES_CMAC_SIGNATURE (0x0C10).
Digital signature using AES-CMAC 128 algorithm used for data integrity.
MsgAesCmacSignature | |
|
Instances
data MsgEcdsaSignature Source #
SBP class for message MSG_ECDSA_SIGNATURE (0x0C08).
An ECDSA-256 signature using SHA-256 as the message digest algorithm.
MsgEcdsaSignature | |
|
Instances
data MsgEcdsaSignatureDepB Source #
SBP class for message MSG_ECDSA_SIGNATURE_DEP_B (0x0C07).
Deprecated.
MsgEcdsaSignatureDepB | |
|
Instances
data MsgEcdsaSignatureDepA Source #
SBP class for message MSG_ECDSA_SIGNATURE_DEP_A (0x0C06).
Deprecated.
MsgEcdsaSignatureDepA | |
|
Instances
data MsgEd25519CertificateDep Source #
SBP class for message MSG_ED25519_CERTIFICATE_DEP (0x0C02).
Deprecated.
MsgEd25519CertificateDep | |
|
Instances
FromJSON MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing | |
ToJSON MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing | |
Read MsgEd25519CertificateDep Source # | |
Show MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing showsPrec :: Int -> MsgEd25519CertificateDep -> ShowS # show :: MsgEd25519CertificateDep -> String # showList :: [MsgEd25519CertificateDep] -> ShowS # | |
Binary MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing put :: MsgEd25519CertificateDep -> Put # get :: Get MsgEd25519CertificateDep # putList :: [MsgEd25519CertificateDep] -> Put # | |
Eq MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing | |
ToSBP MsgEd25519CertificateDep Source # | |
Defined in SwiftNav.SBP.Signing |
data MsgEd25519SignatureDepA Source #
SBP class for message MSG_ED25519_SIGNATURE_DEP_A (0x0C01).
Deprecated.
MsgEd25519SignatureDepA | |
|
Instances
FromJSON MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing | |
ToJSON MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing | |
Read MsgEd25519SignatureDepA Source # | |
Show MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing showsPrec :: Int -> MsgEd25519SignatureDepA -> ShowS # show :: MsgEd25519SignatureDepA -> String # showList :: [MsgEd25519SignatureDepA] -> ShowS # | |
Binary MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing put :: MsgEd25519SignatureDepA -> Put # get :: Get MsgEd25519SignatureDepA # putList :: [MsgEd25519SignatureDepA] -> Put # | |
Eq MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing | |
ToSBP MsgEd25519SignatureDepA Source # | |
Defined in SwiftNav.SBP.Signing |
data MsgEd25519SignatureDepB Source #
SBP class for message MSG_ED25519_SIGNATURE_DEP_B (0x0C03).
Deprecated.
MsgEd25519SignatureDepB | |
|
Instances
FromJSON MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing | |
ToJSON MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing | |
Read MsgEd25519SignatureDepB Source # | |
Show MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing showsPrec :: Int -> MsgEd25519SignatureDepB -> ShowS # show :: MsgEd25519SignatureDepB -> String # showList :: [MsgEd25519SignatureDepB] -> ShowS # | |
Binary MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing put :: MsgEd25519SignatureDepB -> Put # get :: Get MsgEd25519SignatureDepB # putList :: [MsgEd25519SignatureDepB] -> Put # | |
Eq MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing | |
ToSBP MsgEd25519SignatureDepB Source # | |
Defined in SwiftNav.SBP.Signing |