2.2.2.2.6 CSecurityType
The CSecurityType contains security data.
-
<xs:complexType name="CSecurityType"> <xs:sequence> <xs:element name="Algos"> <xs:complexType> <xs:attribute name="EncAlgo" type="xs:string" use="required"/> <xs:attribute name="EncKeyAlgo" type="xs:string" use="required" fixed="DH"/> <xs:attribute name="SigAlgo" type="xs:string" use="required" fixed="RSA"/> <xs:attribute name="SigKeyAlgo" type="xs:string" use="required" fixed="RSA"/> </xs:complexType> </xs:element> <xs:element name="Settings"> <xs:complexType> <xs:attribute name="CipherAlgo" type="xs:string" use="required" fixed="MARC4-BM"/> <xs:attribute name="DigestAlgo" type="xs:string" use="required" fixed="SHA1"/> <xs:attribute name="Encrypted" type="BooleanType" use="required"/> <xs:attribute name="SKeyAlgo" type="xs:string" use="required" fixed="ARC4"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="EPubKey" type="xs:base64Binary" use="required"/> <xs:attribute name="SPubKey" type="xs:base64Binary" use="required"/> <xs:attribute name="SelfSignature" type="xs:base64Binary" use="required"/> </xs:complexType>
The following table describes the elements and attributes:
XPath |
Description |
---|---|
/CSecurityType/@EPubKey |
Encryption public key, DER encoded |
/CSecurityType/@SPubKey |
Signature public key, DER encoded |
/CSecurityType/@SelfSignature |
Self-signature, an encrypted element. The client can set this to any valid base64Binary value. The server MUST ignore the value of the SelfSignature. |
/CSecurityType/Algos |
Algorithm element |
/CSecurityType/Algos/@EncAlgo |
Encryption algorithm. The value MUST be "RSA" or "ELGAMAL". |
/CSecurityType/Algos/@EncKeyAlgo |
Encryption key algorithm. The value MUST be "DH". |
/CSecurityType/Algos/@SigAlgo |
Signature algorithm. The value MUST be "RSA". |
/CSecurityType/Algos/@SigKeyAlgo |
Signature key algorithm. The value MUST be "RSA". |
/CSecurityType/Settings |
Settings element |
/CSecurityType/Settings/@CipherAlgo |
Cipher algorithm. The value MUST be "MARC4-BM". |
/CSecurityType/Settings/@DigestAlgo |
Digest algorithm. The value MUST be "SHA1". |
/CSecurityType/Settings/@Encrypted |
The value MUST be 1. |
/CSecurityType/Settings/@SKeyAlgo |
Secret key algorithm. The value MUST be "ARC4". |