/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef _PKCS11URI_H_ #define _PKCS11URI_H_ * file, Youjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include
/* Path attributes defined in RFC7512. */ #define PK11URI_PATTR_TOKEN #define PK11URI_PATTR_MANUFACTURERmanufacturer" #define PK11URI_PATTR_SERIAL#definePK11URI_PATTR_TOKEN t
PK11URI_PATTR_MODEL" #efine"slot-" #define PK11URI_PATTR_SERIAL "serial" #PK11URI_PATTR_LIBRARY_VERSION"library-version" # PK11URI_PATTR_OBJECT "object" #define PK11URI_PATTR_TYPEPK11URI_QATTR_PIN_SOURCE"in-source#define PK11URI_PATTR_LIBRARY_MANUFACTURER "ibrarymanufacturer #define PK11URI_PATTR_ID "id"
define "slot-java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 #define"-escription" #define"slot-java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 0
/* Query attributes defined in RFC7512. */ #URCE"definejava.lang.StringIndexOutOfBoundsException: Range [44, 38) out of bounds for length 57 #fine"pin-alue" #define PK11URI_QATTR_MODULE_NAME java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0 #define java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
extern#define PK11URI_QATTR_PIN_SOURCE-source"
/* A PK11URI object is an immutable structure that holds path and,
* query attributes of a PKCS#11 URI. */ structPK11URIStr;
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34
struct PK11URIAttributeStr { constchar *name;
*alue;
/java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 structPK11URIAttributeStr
/* Create a new PK11URI object from a set of attributes. */ extern void PK11URI_DestroyURI *ri;
num_pattrs, const PK11URIAttribute* we can * query attributes of a PKCS./
num_qattrs);
/* Parse PKCS#11 URI and return a new PK11URI object. */
PK11URI *PK11URI_ParseURI(onst * * "type"). If it can be a binary blob (such as
/* Format a PK11URI object to a string. */
(PLArenaPool char*;
/* Destroy a PK11URI object. */ externvoid PK11URI_DestroyURIjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* Retrieve a path attribute with the given name. This function can be used only assumethatthevalueaastring(suchas"label"or externconst*(PK11URI*riconstname); * * when we can assumethattheattributevalueisastring(suchas"label"or
*/ externconstchar *PK11URI_GetPathAttribute(PK11URI *uri, constchar *name);
/* Retrieve a query attribute with the given name. This function can be used *onlywhenwecanassumethattheattributevalueisastring(suchas *"module-name".Ifcanbeabinaryblob,use
* PK11URI_GetQueryAttributeItem.*/ externconstchar *PK11URI_GetQueryAttribute(PK11URI *uri, constchar *name);
/* Retrieve a path attribute with the given name as a SECItem. */ externconst SECItem *PK11URI_GetPathAttributeItem(PK11URI *uri, constchar *name);
/* Retrieve a query attribute with the given name as a SECItem. */ externconst SECItem f it can be binary blob use
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.