NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications

Cryptor interface.
More...

Data Structures

class  IPublicCryptoKey
 Public crypto-key instance. More...
 
class  IPrivateCryptoKey
 Private crypto-key instance. More...
 
class  IAsymmetricCryptoKeyReaderWriter
 Allows to read/write private/public crypto-keys data from/to stream as well as to store certificates, etc. More...
 
class  IAuthorityValidator
 Interface for data authority validation including certificates check, binary data check, etc. More...
 
class  IBaseCryptor
 Base cryptor interface, for encryption/decryption implementation. More...
 
class  ICryptoKey
 Base cryptographic key interface. More...
 
class  IDataDSASignature
 DSA digital signature for data interface. More...
 
class  IDataSignature
 Generic digital signature for data interface. More...
 
class  IDigitalCertificate
 Generic digital cryptographic certificate interface. More...
 
class  IDigitalSignature
 Generic digital signature interface. More...
 
class  IDSAPublicCryptoKey
 Public DSA crypto-key instance. More...
 
class  IDSAPrivateCryptoKey
 Private DSA crypto-key instance. More...
 
class  IDSADigitalCertificate
 DSA digital certificate interface. More...
 
class  IDSADigitalSignature
 DSA digital signature interface. More...
 
class  ISymmetricCryptoKey
 Interface for symmetric cryptographic key implementation. More...
 

Typedefs

typedef SDKArray DigitalSignatureData
 Digital signature data.
 
typedef SDKArray SymmetricCryptoKeyData
 ISymmetric cryptographic key data.
 

Enumerations

enum  PrivatePublicKeyType
 Private/Public key type.
 
enum  PaddingType { kPaddingType_None = 0, kPaddingType_Zeroes = 1, kPaddingType_PKCS7 = 2 }
 Possible value for kBaseCryptorProp_PaddingType property. More...
 
enum  DigitalCertificateProps {
  kDigitalCertificateProps_StartDate = 0, kDigitalCertificateProps_EndDate = 1, kDigitalCertificateProps_Version = 2, kDigitalCertificateProps_SerialNumber = 3,
  kDigitalCertificateProps_Issuer_C = 10, kDigitalCertificateProps_Issuer_S = 11, kDigitalCertificateProps_Issuer_L = 12, kDigitalCertificateProps_Issuer_O = 13,
  kDigitalCertificateProps_Issuer_OU = 14, kDigitalCertificateProps_Issuer_CN = 15, kDigitalCertificateProps_Subject_C = 20, kDigitalCertificateProps_Subject_S = 21,
  kDigitalCertificateProps_Subject_L = 22, kDigitalCertificateProps_Subject_O = 23, kDigitalCertificateProps_Subject_OU = 24, kDigitalCertificateProps_Subject_CN = 25,
  kDigitalCertificateProps_Type = 26
}
 Generic digital cryptographic certificate properties. More...
 
enum  DigitalCertificateType
 Digital certificate type.
 
enum  DigitalCertificateFormat
 Digital certificate format.
 
enum  DigitalSignatureAlgorithm
 Digital signature algorithm.
 

Variables

static const wchar_t kBaseCryptorProp_PaddingType []
 Set of property names for cryptors. More...
 
typedef SDKArray DSA_P_Data
 Set of DSA specific data. More...
 
typedef SDKArray DSA_Q_Data
 Big Q data.
 
typedef SDKArray DSA_G_Data
 Big G data.
 
typedef PrivateKeyData DSA_X_Data
 X data (private key)
 
typedef PublicKeyData DSA_Y_Data
 Y data (public key)
 
typedef DigitalSignatureData DSASignaturePartR
 DSA signature part R.
 
typedef DigitalSignatureData DSASignaturePartS
 DSA signature part S.
 

Detailed Description

Cryptor interface.

Typedef Documentation

◆ DSA_P_Data

typedef SDKArray DSA_P_Data

Set of DSA specific data.

Big P data

Enumeration Type Documentation

◆ PaddingType

Possible value for kBaseCryptorProp_PaddingType property.

Enumerator
kPaddingType_None 

Padding is disabled.

kPaddingType_Zeroes 

Zeroes will be used as padding pattern.

kPaddingType_PKCS7 

PKCS7 padding type.

◆ DigitalCertificateProps

Generic digital cryptographic certificate properties.

Enumerator
kDigitalCertificateProps_StartDate 

Certificate start date (kSDKAnyType_SDKTime)

Certificate expiration date (kSDKAnyType_SDKTime)

kDigitalCertificateProps_EndDate 

Certificate version (kSDKAnyType_Uint32)

kDigitalCertificateProps_Version 

Certificate serial number in hex format (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_SerialNumber 

Certificate issuer country name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_C 

Certificate issuer state or province name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_S 

Certificate issuer locality name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_L 

Certificate issuer organization name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_O 

Certificate issuer organization unit name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_OU 

Certificate issuer common name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Issuer_CN 

Certificate subject country name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_C 

Certificate subject state or province name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_S 

Certificate subject locality name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_L 

Certificate subject organization name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_O 

Certificate subject organization unit name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_OU 

Certificate subject common name (kSDKAnyType_SDKStringPtr)

kDigitalCertificateProps_Subject_CN 

Certificate type (kSDKAnyType_Uint32), one of DigitalCertificateType values.

kDigitalCertificateProps_Type 

Parent certificate serial (kSDKAnyType_SDKStringPtr) Parent certificate holds public key to validate given certificate

Variable Documentation

◆ kBaseCryptorProp_PaddingType

const wchar_t kBaseCryptorProp_PaddingType[]
static
Initial value:
=
L"BaseCryptorProp_PaddingType"

Set of property names for cryptors.

Use padding for block algorithms kSDKAnyType_Int32 value type