| ASN1_METHOD* PROXYPOLICY_asn1_meth | ( | ) |
Creates an ASN1_METHOD structure, which contains pointers to routines that convert any PROXYPOLICY structure to its associated ASN1 DER encoded form and vice-versa.
| PROXYPOLICY* PROXYPOLICY_new | ( | ) |
Allocates and initializes a new PROXYPOLICY structure.
| void PROXYPOLICY_free | ( | PROXYPOLICY * | policy | ) |
Frees a PROXYPOLICY.
| policy | the proxy policy to free |
| PROXYPOLICY* PROXYPOLICY_dup | ( | PROXYPOLICY * | policy | ) |
Makes a copy of the proxypolicy - this function allocates space for a new PROXYPOLICY, so the returned PROXYPOLICY must be freed when its no longer needed.
| policy | the proxy policy to copy |
| int PROXYPOLICY_cmp | ( | const PROXYPOLICY * | a, | |
| const PROXYPOLICY * | b | |||
| ) |
Compares two PROXYPOLICY structs for equality This function first compares the policy language numeric id's, if they're equal, it then compares the two policies.
| int PROXYPOLICY_print | ( | BIO * | bp, | |
| PROXYPOLICY * | policy | |||
| ) |
Prints the PROXYPOLICY struct using the BIO stream.
| bp | the BIO stream to print to | |
| policy | the PROXYPOLICY to print |
| int PROXYPOLICY_print_fp | ( | FILE * | fp, | |
| PROXYPOLICY * | policy | |||
| ) |
Prints the PROXYPOLICY to the file stream FILE*.
| fp | the FILE* stream to print to | |
| policy | the PROXYPOLICY to print |
| int PROXYPOLICY_set_policy_language | ( | PROXYPOLICY * | policy, | |
| ASN1_OBJECT * | policy_language | |||
| ) |
Sets the policy language of the PROXYPOLICY.
| policy | the PROXYPOLICY to set the policy language of | |
| policy_language | the policy language to set it to |
| ASN1_OBJECT* PROXYPOLICY_get_policy_language | ( | PROXYPOLICY * | policy | ) |
Gets the policy language of the PROXYPOLICY.
| policy | the proxy policy to get the policy language of |
| int PROXYPOLICY_set_policy | ( | PROXYPOLICY * | proxypolicy, | |
| unsigned char * | policy, | |||
| int | length | |||
| ) |
Sets the policy of the PROXYPOLICY.
| proxypolicy | the proxy policy to set the policy of | |
| policy | the policy to set it to | |
| length | the length of the policy |
| unsigned char* PROXYPOLICY_get_policy | ( | PROXYPOLICY * | policy, | |
| int * | length | |||
| ) |
Gets the policy of a PROXYPOLICY.
| policy | the PROXYPOLICY to get the policy of | |
| length | the length of the returned policy - this value gets set by this function |
| int i2d_PROXYPOLICY | ( | PROXYPOLICY * | a, | |
| unsigned char ** | pp | |||
| ) |
Converts a PROXYPOLICY from its internal structure to a DER encoded form.
| a | the PROXYPOLICY to convert | |
| pp | the buffer to put the DER encoding in |
| PROXYPOLICY* d2i_PROXYPOLICY | ( | PROXYPOLICY ** | a, | |
| unsigned char ** | pp, | |||
| long | length | |||
| ) |
Converts the PROXYPOLICY from its DER encoded form to an internal PROXYPOLICY structure.
| a | the PROXYPOLICY struct to set | |
| pp | the DER encoding to get the PROXYPOLICY from | |
| length | the length of the DER encoding |
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org