All,
The object format below is a first shot at defining an input/output data
object format for the musclecard framework that I suggested to Dave. He
asked that I post it here for comments. Please take a look.
The idea is to provide a generic ASN.1 data object format that would link
public data such as certificates to private objects located on a token.
Using a simple format such as this would alleviate the need to impose the
complexity of PKCS #15.
PublicObject ::= SEQUENCE {
version ObjVersion, --The version of the object format
objname ObjLink, --The id of the priv object stored on token
objtype ObjType,
value ObjValue
}
ObjVersion ::= INTEGER { v1(0) }
ObjLink ::= PRINTABLESTRING
ObjType ::= ENUMERATION {
Certificate(0),
Public Key(1),
etc(2...)
}
ObjValue ::= SEQUENCE {
data OCTET STRING,
hash OCTET STRING --H[data]
}
Mike
***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************