![]() |
kinetic-c
v0.12.0
Seagate Kinetic Protocol Client Library for C
|
#include "kinetic_types_internal.h"
Go to the source code of this file.
Functions | |
KineticStatus | KineticAuth_EnsureSslEnabled (KineticSessionConfig const *const config) |
KineticStatus | KineticAuth_PopulateHmac (KineticSessionConfig const *const config, KineticRequest *const request) |
KineticStatus | KineticAuth_PopulatePin (KineticSessionConfig const *const config, KineticRequest *const request, ByteArray pin) |
KineticStatus | KineticAuth_PopulateTag (ByteBuffer *const tag, KineticAlgorithm algorithm, ByteArray const *const key) |
KineticStatus KineticAuth_EnsureSslEnabled | ( | KineticSessionConfig const *const | config | ) |
Definition at line 26 of file kinetic_auth.c.
References KINETIC_ASSERT, KINETIC_STATUS_SSL_REQUIRED, KINETIC_STATUS_SUCCESS, and KineticSessionConfig::useSsl.
KineticStatus KineticAuth_PopulateHmac | ( | KineticSessionConfig const *const | config, |
KineticRequest *const | request | ||
) |
Definition at line 33 of file kinetic_auth.c.
References COM__SEAGATE__KINETIC__PROTO__COMMAND__SECURITY__ACL__HMACALGORITHM__HmacSHA1, COM__SEAGATE__KINETIC__PROTO__MESSAGE__AUTH_TYPE__HMACAUTH, com__seagate__kinetic__proto__message__hmacauth__init(), ByteArray::data, KineticSessionConfig::hmacKey, KineticSessionConfig::identity, KINETIC_ASSERT, KINETIC_HMAC_MAX_LEN, KINETIC_HMAC_SHA1_LEN, KINETIC_STATUS_HMAC_REQUIRED, KINETIC_STATUS_SUCCESS, KineticHMAC_Init(), KineticHMAC_Populate(), ByteArray::len, and LOG3.
KineticStatus KineticAuth_PopulatePin | ( | KineticSessionConfig const *const | config, |
KineticRequest *const | request, | ||
ByteArray | pin | ||
) |
Definition at line 76 of file kinetic_auth.c.
References COM__SEAGATE__KINETIC__PROTO__MESSAGE__AUTH_TYPE__PINAUTH, com__seagate__kinetic__proto__message__pinauth__init(), KineticMessage::command, ByteArray::data, KineticMessage::header, KINETIC_ASSERT, KINETIC_PIN_MAX_LEN, KINETIC_STATUS_SSL_REQUIRED, KINETIC_STATUS_SUCCESS, ByteArray::len, LOG3, KineticMessage::message, KineticMessage::pinAuth, and KineticSessionConfig::useSsl.
KineticStatus KineticAuth_PopulateTag | ( | ByteBuffer *const | tag, |
KineticAlgorithm | algorithm, | ||
ByteArray const *const | key | ||
) |
Definition at line 107 of file kinetic_auth.c.
References KINETIC_STATUS_INVALID.