2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A unsigned int length;
/* number of significant bits */ 2N/A unsigned int length;
/* number of significant bits */ 2N/A short year;
/* YYYY format when used for GeneralizedTime */ 2N/A /* YY format when used for UTCTime */ 2N/A/* Algorithm types */ 2N/A/* Parameter types */ 2N/A/* Algorithm table */ 2N/A * AMI function return values 2N/A/* flags for ami_encrypt, ami_decrypt, ami_sign, ami_verify, ami_digest */ 2N/A/* AMI Handle and status */ 2N/A/* AMI return variable */ 2N/A * PROTOTYPES should be set to one if and only if the compiler supports 2N/A * function argument prototyping. 2N/A * The following makes PROTOTYPES default to 1 if it has not already been 2N/A * defined as 0 with C compiler flags. 2N/A * PROTO_LIST is defined depending on how PROTOTYPES is defined above. 2N/A * If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it 2N/A * returns an empty list. 2N/A/* Init and Terminate a AMI session */ 2N/A const uint_t,
/* IN: effective key size in bits */ 2N/A const size_t,
/* IN: length of data in bytes */ 2N/A const int,
/* IN: more input data flag */ 2N/A const int,
/* IN: more input data flag */ 2N/A const int,
/* IN: more input data flag */ 2N/A const size_t,
/* IN: verification key length */ 2N/A const int,
/* IN: more input data flag */ 2N/A const size_t,
/* IN: encryption key length */ 2N/A const int,
/* IN: more input data flag */ 2N/A const size_t,
/* IN: decryption key length */ 2N/A const size_t,
/* IN: length of key to be wrapped */ 2N/A const size_t,
/* IN: unwrapping key length */ 2N/A/* certificate verification */ 2N/A const int));
/* IN: flags (unused) */ 2N/A const ami_cert *,
/* IN: certificate chain to be verified */ 2N/A const int,
/* IN: length of cert chain */ 2N/A const int,
/* IN: flags (unused) */ 2N/A const char **,
/* IN: CA Name list */ 2N/A const int,
/* IN: flags (unused) */ 2N/A int *));
/* OUT: length of cert chain */ 2N/A/* certificate chain establishment */ 2N/A const char **,
/* IN: CA name list */ 2N/A int *));
/* OUT: length of cert chain */ 2N/A const char *,
/* IN: keypkg filename or repository index */ 2N/A const char *,
/* IN: keypkg_filename or repository index */ 2N/A const char *,
/* IN: cert filename or repository index */ 2N/A const char *,
/* IN: certificate filename, rep index, DN */ 2N/A int *));
/* OUT: certificate set length */ 2N/A/* generate random bytes */ 2N/A const ushort_t,
/* IN: requested number of random bytes */ 2N/A/* Supported algorithms */ 2N/A#
endif /* _SLP_AMI_H */