/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <stdio.h>
#include <link.h>
#include <fcntl.h>
#include <ctype.h>
#include <ber_der.h>
#include <kmfapiP.h>
#include <libgen.h>
#include <cryptoutil.h>
int num_args,
{
sizeof (KMF_KEY_HANDLE)},
sizeof (KMF_KEY_HANDLE)},
};
sizeof (KMF_ATTRIBUTE_TESTER);
return (KMF_ERR_BAD_PARAMETER);
return (ret);
return (ret);
attrlist));
} else {
return (KMF_ERR_PLUGIN_NOTFOUND);
}
}
int num_args,
{
sizeof (KMF_KEY_HANDLE)},
};
sizeof (KMF_ATTRIBUTE_TESTER);
return (KMF_ERR_BAD_PARAMETER);
return (ret);
return (ret);
} else {
}
return (KMF_ERR_BAD_PARAMETER);
}
/* Else we don't know how to free the memory. */
}
}
return (ret);
}
int num_args,
{
sizeof (uint32_t)}
};
sizeof (KMF_ATTRIBUTE_TESTER);
return (KMF_ERR_BAD_PARAMETER);
return (ret);
return (ret);
}
return (KMF_ERR_PLUGIN_NOTFOUND);
}
int num_args,
{
sizeof (KMF_KEY_HANDLE)},
};
sizeof (KMF_ATTRIBUTE_TESTER);
return (KMF_ERR_BAD_PARAMETER);
return (ret);
return (ret);
attrlist));
} else {
return (KMF_ERR_PLUGIN_NOTFOUND);
}
}
{
return (ret);
return (KMF_ERR_BAD_PARAMETER);
} else {
return (KMF_ERR_PLUGIN_NOTFOUND);
}
}
int numattr,
{
};
sizeof (KMF_ATTRIBUTE_TESTER);
return (KMF_ERR_BAD_PARAMETER);
return (ret);
return (ret);
else
return (KMF_ERR_FUNCTION_NOT_FOUND);
}
return (KMF_ERR_PLUGIN_NOTFOUND);
}