blob: e55fa1dbad0fcceaa97981ee72f993a5b764cdfd [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef OXS_TOKEN_X509_SERIAL_NUMBER_H
#define OXS_TOKEN_X509_SERIAL_NUMBER_H
/**
* @file oxs_token_x509_serial_number.h
* @brief Represents <X509SerialNumber> element
*/
/**
* @defgroup oxs_token_x509_serial_number OMXMLSecurity X509 Serial Number Token
* @ingroup oxs_token
* @{
*/
#include <axis2_defines.h>
#include <axutil_env.h>
#include <axiom_node.h>
#include <axiom_element.h>
#include <axutil_qname.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* X509IssuerName element
*/
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
oxs_token_get_serial_number(const axutil_env_t *env,
axiom_node_t *serial_number_node);
AXIS2_EXTERN axiom_node_t* AXIS2_CALL
oxs_token_build_serial_number_element(const axutil_env_t *env,
axiom_node_t *parent,
axis2_char_t* value );
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* OXS_TOKEN_X509_SERIAL_NUMBER_H */