diff options
Diffstat (limited to 'src/libstrongswan/crypto/x509.h')
-rwxr-xr-x | src/libstrongswan/crypto/x509.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/x509.h b/src/libstrongswan/crypto/x509.h index 9caf0ab13..8e13dfc2a 100755 --- a/src/libstrongswan/crypto/x509.h +++ b/src/libstrongswan/crypto/x509.h @@ -107,6 +107,15 @@ struct x509_t { bool (*equals) (x509_t *this, x509_t *that); /** + * @brief Checks if the certificate contains a subjectAltName equal to id. + * + * @param this certificate being examined + * @param id id which is being compared to the subjectAltNames + * @return TRUE if a match is found + */ + bool (*equals_subjectAltName) (x509_t *this, identification_t *id); + + /** * @brief Destroys the certificate. * * @param this certificate to destroy |