ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
|
Functions | |
OCTETSTRING | fx__hashWithSha256 (const OCTETSTRING &p__toBeHashedData) |
Produces a 256-bit (32-byte) hash value More... | |
OCTETSTRING | fx__hashWithSha384 (const OCTETSTRING &p__toBeHashedData) |
Produces a 384-bit (48-byte) hash value More... | |
OCTETSTRING | fx__signWithEcdsaNistp256WithSha256 (const OCTETSTRING &p__toBeSignedSecuredMessage, const OCTETSTRING &p__privateKey) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee More... | |
OCTETSTRING | fx__signWithEcdsaBrainpoolp256WithSha256 (const OCTETSTRING &p__toBeSignedSecuredMessage, const OCTETSTRING &p__privateKey) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee More... | |
OCTETSTRING | fx__signWithEcdsaBrainpoolp384WithSha384 (const OCTETSTRING &p__toBeSignedSecuredMessage, const OCTETSTRING &p__privateKey) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee More... | |
BOOLEAN | fx__verifyWithEcdsaNistp256WithSha256 (const OCTETSTRING &p__toBeVerifiedData, const OCTETSTRING &p__signature, const OCTETSTRING &p__ecdsaNistp256PublicKeyX, const OCTETSTRING &p__ecdsaNistp256PublicKeyY) |
Verify the signature of the specified data More... | |
BOOLEAN | fx__verifyWithEcdsaBrainpoolp256WithSha256 (const OCTETSTRING &p__toBeVerifiedData, const OCTETSTRING &p__signature, const OCTETSTRING &p__ecdsaBrainpoolp256PublicKeyX, const OCTETSTRING &p__ecdsaBrainpoolp256PublicKeyY) |
Verify the signature of the specified data More... | |
BOOLEAN | fx__verifyWithEcdsaBrainpoolp384WithSha384 (const OCTETSTRING &p__toBeVerifiedData, const OCTETSTRING &p__signature, const OCTETSTRING &p__ecdsaBrainpoolp384PublicKeyX, const OCTETSTRING &p__ecdsaBrainpoolp384PublicKeyY) |
Verify the signature of the specified data More... | |
OCTETSTRING | fx__encryptWithEciesNistp256WithSha256 (const OCTETSTRING &p__toBeEncryptedSecuredMessage, const OCTETSTRING &p__peerPublicKeyX, const OCTETSTRING &p__peerPublicKeyY, OCTETSTRING &p__publicEncKeyX, OCTETSTRING &p__publicEncKeyY, OCTETSTRING &p__ephKey, OCTETSTRING &p__tag, OCTETSTRING &p__nonce) |
OCTETSTRING | fx__decryptWithEciesNistp256WithSha256 (const OCTETSTRING &p__encryptedSecuredMessage, const OCTETSTRING &p__publicKeyX, const OCTETSTRING &p__publicKeyY, const OCTETSTRING &p__nonce, const OCTETSTRING &p__tag) |
BOOLEAN | fx__generateKeyPair__nistp256 (OCTETSTRING &p__privateKey, OCTETSTRING &p__publicKeyX, OCTETSTRING &p__publicKeyY) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm. More... | |
BOOLEAN | fx__generateKeyPair__brainpoolp256 (OCTETSTRING &p__privateKey, OCTETSTRING &p__publicKeyX, OCTETSTRING &p__publicKeyY) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm. More... | |
BOOLEAN | fx__generateKeyPair__brainpoolp384 (OCTETSTRING &p__privateKey, OCTETSTRING &p__publicKeyX, OCTETSTRING &p__publicKeyY) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm. More... | |
BOOLEAN | fx__loadCertificates (const CHARSTRING &p__rootDirectory, const CHARSTRING &p__configId) |
Load in memory cache the certificates available in the specified directory More... | |
BOOLEAN | fx__store__certificate (const CHARSTRING &p__cert__id, const OCTETSTRING &p__cert, const OCTETSTRING &p__private__key, const OCTETSTRING &p__public__key__x, const OCTETSTRING &p__public__key__y, const OCTETSTRING &p__hashid8, const OCTETSTRING &p__issuer, const OCTETSTRING_template &p__private__enc__key, const OCTETSTRING_template &p__public__enc__key__x, const OCTETSTRING_template &p__public__enc__key__y) |
BOOLEAN | fx__unloadCertificates () |
Unload from memory cache the certificates More... | |
BOOLEAN | fx__readCertificate (const CHARSTRING &p__certificateId, OCTETSTRING &p__certificate) |
Read the specified certificate More... | |
BOOLEAN | fx__readCertificateFromDigest (const OCTETSTRING &p__digest, CHARSTRING &p__certificateId) |
BOOLEAN | fx__readCertificateDigest (const CHARSTRING &p__certificateId, OCTETSTRING &p__digest) |
Read the specified certificate digest More... | |
BOOLEAN | fx__readSigningKey (const CHARSTRING &p__certificateId, OCTETSTRING &p__signingPrivateKey) |
Read the private keys for the specified certificate More... | |
BOOLEAN | fx__readEncryptingKey (const CHARSTRING &p__certificateId, OCTETSTRING &p__encryptingPrivateKey) |
Read the private keys for the specified certificate More... | |
BOOLEAN | fx__isValidPolygonalRegion (const IEEE1609dot2BaseTypes::PolygonalRegion &p__region) |
BOOLEAN | fx__isPolygonalRegionInside (const IEEE1609dot2BaseTypes::PolygonalRegion &p__parent, const IEEE1609dot2BaseTypes::PolygonalRegion &p__region) |
BOOLEAN | fx__isLocationInsideCircularRegion (const IEEE1609dot2BaseTypes::CircularRegion &p__region, const IEEE1609dot2BaseTypes::ThreeDLocation &p__location) |
BOOLEAN | fx__isLocationInsideRectangularRegion (const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion &p__region, const IEEE1609dot2BaseTypes::ThreeDLocation &p__location) |
BOOLEAN | fx__isLocationInsidePolygonalRegion (const IEEE1609dot2BaseTypes::PolygonalRegion &p__region, const IEEE1609dot2BaseTypes::ThreeDLocation &p__location) |
BOOLEAN | fx__isLocationInsideIdentifiedRegion (const IEEE1609dot2BaseTypes::IdentifiedRegion &p__region, const IEEE1609dot2BaseTypes::ThreeDLocation &p__location) |
BOOLEAN | fx__isLocationInsideOtherRegion (const OCTETSTRING &p_region, const IEEE1609dot2BaseTypes::ThreeDLocation &p_location) |
BOOLEAN | fx__areCirclesInside (const IEEE1609dot2BaseTypes::CircularRegion &p_circular_region_1, const IEEE1609dot2BaseTypes::CircularRegion &p_circular_region_2) |
BOOLEAN | fx__areRectanglesInside (const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion &p_rectanglar_region_1, const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion &p_rectanglar_region_2) |
BOOLEAN | fx__arePolygonsInside (const IEEE1609dot2BaseTypes::PolygonalRegion &p_polygonal_region_1, const IEEE1609dot2BaseTypes::PolygonalRegion &p_polygonal_region_2) |
FLOAT | fx__dms2dd (const INTEGER &p__degrees, const INTEGER &p__minutes, const FLOAT &p__seconds, const OCTETSTRING &p__latlon) |
BOOLEAN LibItsSecurity__Functions::fx__areCirclesInside | ( | const IEEE1609dot2BaseTypes::CircularRegion & | p_circular_region_1, |
const IEEE1609dot2BaseTypes::CircularRegion & | p_circular_region_2 | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__arePolygonsInside | ( | const IEEE1609dot2BaseTypes::PolygonalRegion & | p_polygonal_region_1, |
const IEEE1609dot2BaseTypes::PolygonalRegion & | p_polygonal_region_2 | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__areRectanglesInside | ( | const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion & | p_rectanglar_region_1, |
const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion & | p_rectanglar_region_2 | ||
) |
OCTETSTRING LibItsSecurity__Functions::fx__decryptWithEciesNistp256WithSha256 | ( | const OCTETSTRING & | p__encryptedSecuredMessage, |
const OCTETSTRING & | p__publicKeyX, | ||
const OCTETSTRING & | p__publicKeyY, | ||
const OCTETSTRING & | p__nonce, | ||
const OCTETSTRING & | p__tag | ||
) |
FLOAT LibItsSecurity__Functions::fx__dms2dd | ( | const INTEGER & | p__degrees, |
const INTEGER & | p__minutes, | ||
const FLOAT & | p__seconds, | ||
const OCTETSTRING & | p__latlon | ||
) |
OCTETSTRING LibItsSecurity__Functions::fx__encryptWithEciesNistp256WithSha256 | ( | const OCTETSTRING & | p__toBeEncryptedSecuredMessage, |
const OCTETSTRING & | p__peerPublicKeyX, | ||
const OCTETSTRING & | p__peerPublicKeyY, | ||
OCTETSTRING & | p__publicEncKeyX, | ||
OCTETSTRING & | p__publicEncKeyY, | ||
OCTETSTRING & | p__ephKey, | ||
OCTETSTRING & | p__tag, | ||
OCTETSTRING & | p__nonce | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__generateKeyPair__brainpoolp256 | ( | OCTETSTRING & | p__privateKey, |
OCTETSTRING & | p__publicKeyX, | ||
OCTETSTRING & | p__publicKeyY | ||
) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm.
This function should not be used by the ATS
p_privateKey | The new private key value |
p_publicKeyX | The new public key value (x coordinate) |
p_publicKeyX | The new public key value (y coordinate) |
BOOLEAN LibItsSecurity__Functions::fx__generateKeyPair__brainpoolp384 | ( | OCTETSTRING & | p__privateKey, |
OCTETSTRING & | p__publicKeyX, | ||
OCTETSTRING & | p__publicKeyY | ||
) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm.
This function should not be used by the ATS
p_privateKey | The new private key value |
p_publicKeyX | The new public key value (x coordinate) |
p_publicKeyX | The new public key value (y coordinate) |
BOOLEAN LibItsSecurity__Functions::fx__generateKeyPair__nistp256 | ( | OCTETSTRING & | p__privateKey, |
OCTETSTRING & | p__publicKeyX, | ||
OCTETSTRING & | p__publicKeyY | ||
) |
Produce a new public/private key pair based on Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm.
This function should not be used by the ATS
p_privateKey | The new private key value |
p_publicKeyX | The new public key value (x coordinate) |
p_publicKeyX | The new public key value (y coordinate) |
OCTETSTRING LibItsSecurity__Functions::fx__hashWithSha256 | ( | const OCTETSTRING & | p__toBeHashedData | ) |
Produces a 256-bit (32-byte) hash value
p_toBeHashedData | Data to be used to calculate the hash value |
OCTETSTRING LibItsSecurity__Functions::fx__hashWithSha384 | ( | const OCTETSTRING & | p__toBeHashedData | ) |
Produces a 384-bit (48-byte) hash value
p_toBeHashedData | Data to be used to calculate the hash value |
BOOLEAN LibItsSecurity__Functions::fx__isLocationInsideCircularRegion | ( | const IEEE1609dot2BaseTypes::CircularRegion & | p__region, |
const IEEE1609dot2BaseTypes::ThreeDLocation & | p__location | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isLocationInsideIdentifiedRegion | ( | const IEEE1609dot2BaseTypes::IdentifiedRegion & | p__region, |
const IEEE1609dot2BaseTypes::ThreeDLocation & | p__location | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isLocationInsideOtherRegion | ( | const OCTETSTRING & | p_region, |
const IEEE1609dot2BaseTypes::ThreeDLocation & | p_location | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isLocationInsidePolygonalRegion | ( | const IEEE1609dot2BaseTypes::PolygonalRegion & | p__region, |
const IEEE1609dot2BaseTypes::ThreeDLocation & | p__location | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isLocationInsideRectangularRegion | ( | const IEEE1609dot2BaseTypes::SequenceOfRectangularRegion & | p__region, |
const IEEE1609dot2BaseTypes::ThreeDLocation & | p__location | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isPolygonalRegionInside | ( | const IEEE1609dot2BaseTypes::PolygonalRegion & | p__parent, |
const IEEE1609dot2BaseTypes::PolygonalRegion & | p__region | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__isValidPolygonalRegion | ( | const IEEE1609dot2BaseTypes::PolygonalRegion & | p__region | ) |
BOOLEAN LibItsSecurity__Functions::fx__loadCertificates | ( | const CHARSTRING & | p__rootDirectory, |
const CHARSTRING & | p__configId | ||
) |
Load in memory cache the certificates available in the specified directory
p_rootDirectory | Root directory to access to the certificates identified by the certificate ID |
p_configId | A configuration identifier |
BOOLEAN LibItsSecurity__Functions::fx__readCertificate | ( | const CHARSTRING & | p__certificateId, |
OCTETSTRING & | p__certificate | ||
) |
Read the specified certificate
p_certificateId | the certificate identifier |
p_certificate | the expected certificate |
BOOLEAN LibItsSecurity__Functions::fx__readCertificateDigest | ( | const CHARSTRING & | p__certificateId, |
OCTETSTRING & | p__digest | ||
) |
Read the specified certificate digest
p_certificateId | the certificate identifier |
p_digest | the expected certificate |
BOOLEAN LibItsSecurity__Functions::fx__readCertificateFromDigest | ( | const OCTETSTRING & | p__digest, |
CHARSTRING & | p__certificateId | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__readEncryptingKey | ( | const CHARSTRING & | p__certificateId, |
OCTETSTRING & | p__encryptingPrivateKey | ||
) |
Read the private keys for the specified certificate
p_keysId | the keys identifier |
p_encryptPrivateKey | the encrypt private key |
BOOLEAN LibItsSecurity__Functions::fx__readSigningKey | ( | const CHARSTRING & | p__certificateId, |
OCTETSTRING & | p__signingPrivateKey | ||
) |
Read the private keys for the specified certificate
p_certificateId | the keys identifier |
p_signingPrivateKey | the signing private key |
OCTETSTRING LibItsSecurity__Functions::fx__signWithEcdsaBrainpoolp256WithSha256 | ( | const OCTETSTRING & | p__toBeSignedSecuredMessage, |
const OCTETSTRING & | p__privateKey | ||
) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee
p_toBeSignedSecuredMessage | The data to be signed |
p_privateKey | The private key |
OCTETSTRING LibItsSecurity__Functions::fx__signWithEcdsaBrainpoolp384WithSha384 | ( | const OCTETSTRING & | p__toBeSignedSecuredMessage, |
const OCTETSTRING & | p__privateKey | ||
) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee
p_toBeSignedSecuredMessage | The data to be signed |
p_privateKey | The private key |
OCTETSTRING LibItsSecurity__Functions::fx__signWithEcdsaNistp256WithSha256 | ( | const OCTETSTRING & | p__toBeSignedSecuredMessage, |
const OCTETSTRING & | p__privateKey | ||
) |
Produces a Elliptic Curve Digital Signature Algorithm (ECDSA) signaturee
p_toBeSignedSecuredMessage | The data to be signed |
p_privateKey | The private key |
BOOLEAN LibItsSecurity__Functions::fx__store__certificate | ( | const CHARSTRING & | p__cert__id, |
const OCTETSTRING & | p__cert, | ||
const OCTETSTRING & | p__private__key, | ||
const OCTETSTRING & | p__public__key__x, | ||
const OCTETSTRING & | p__public__key__y, | ||
const OCTETSTRING & | p__hashid8, | ||
const OCTETSTRING & | p__issuer, | ||
const OCTETSTRING_template & | p__private__enc__key, | ||
const OCTETSTRING_template & | p__public__enc__key__x, | ||
const OCTETSTRING_template & | p__public__enc__key__y | ||
) |
BOOLEAN LibItsSecurity__Functions::fx__unloadCertificates | ( | ) |
Unload from memory cache the certificates
BOOLEAN LibItsSecurity__Functions::fx__verifyWithEcdsaBrainpoolp256WithSha256 | ( | const OCTETSTRING & | p__toBeVerifiedData, |
const OCTETSTRING & | p__signature, | ||
const OCTETSTRING & | p__ecdsaBrainpoolp256PublicKeyX, | ||
const OCTETSTRING & | p__ecdsaBrainpoolp256PublicKeyY | ||
) |
Verify the signature of the specified data
p_toBeVerifiedData | The data to be verified |
p_signature | The signature |
p_ecdsaBrainpoolp256PublicKeyX | The public key (x coordinate) |
p_ecdsaBrainpoolp256PublicKeyY | The public key (y coordinate) |
BOOLEAN LibItsSecurity__Functions::fx__verifyWithEcdsaBrainpoolp384WithSha384 | ( | const OCTETSTRING & | p__toBeVerifiedData, |
const OCTETSTRING & | p__signature, | ||
const OCTETSTRING & | p__ecdsaBrainpoolp384PublicKeyX, | ||
const OCTETSTRING & | p__ecdsaBrainpoolp384PublicKeyY | ||
) |
Verify the signature of the specified data
p_toBeVerifiedData | The data to be verified |
p_signature | The signature |
p_ecdsaBrainpoolp384PublicKeyX | The public key (x coordinate) |
p_ecdsaBrainpoolp384PublicKeyY | The public key (y coordinate) |
BOOLEAN LibItsSecurity__Functions::fx__verifyWithEcdsaNistp256WithSha256 | ( | const OCTETSTRING & | p__toBeVerifiedData, |
const OCTETSTRING & | p__signature, | ||
const OCTETSTRING & | p__ecdsaNistp256PublicKeyX, | ||
const OCTETSTRING & | p__ecdsaNistp256PublicKeyY | ||
) |
Verify the signature of the specified data
p_toBeVerifiedData | The data to be verified |
p_signature | The signature |
p_ecdsaNistp256PublicKeyX | The public key (x coordinate) |
p_ecdsaNistp256PublicKeyY | The public key (y coordinate) |