cryptoservices/certificateandkeymgmt/inc/x520ava.h
changeset 30 cf642210ecb7
parent 19 ece3df019add
equal deleted inserted replaced
19:ece3df019add 30:cf642210ecb7
    43 _LIT(KX520Surname,"2.5.4.4");
    43 _LIT(KX520Surname,"2.5.4.4");
    44 _LIT(KX520Initials,"2.5.4.43");
    44 _LIT(KX520Initials,"2.5.4.43");
    45 _LIT(KX520GenerationQualifier,"2.5.4.44");
    45 _LIT(KX520GenerationQualifier,"2.5.4.44");
    46 _LIT(KX520DNQualifier,"2.5.4.46");
    46 _LIT(KX520DNQualifier,"2.5.4.46");
    47 _LIT(KX520SerialNumber,"2.5.4.5");
    47 _LIT(KX520SerialNumber,"2.5.4.5");
       
    48 _LIT(KX520Description,"2.5.4.13");
    48 
    49 
    49 //more attribute types we handle at present
    50 //more attribute types we handle at present
    50 _LIT(KX520PostalCode,"2.5.4.17");
    51 _LIT(KX520PostalCode,"2.5.4.17");
    51 _LIT(KRFC2247DomainComponent, "0.9.2342.19200300.100.1.25");
    52 _LIT(KRFC2247DomainComponent, "0.9.2342.19200300.100.1.25");
    52 _LIT(KRFC2256Street,"2.5.4.9");
    53 _LIT(KRFC2256Street,"2.5.4.9");
    90 * 
    91 * 
    91 * Each component of the domain name is a short string. */
    92 * Each component of the domain name is a short string. */
    92 const TInt KRFC2247MaxDomainComponentLength = 128;
    93 const TInt KRFC2247MaxDomainComponentLength = 128;
    93 /** The maximum length allowed a for street. */
    94 /** The maximum length allowed a for street. */
    94 const TInt KRFC2256StreetLength = 128;
    95 const TInt KRFC2256StreetLength = 128;
       
    96 /** The maximum length allowed for an Description field. */
       
    97 const TInt KX520MaxDescriptionLength = 1024;
    95 
    98 
    96 
    99 
    97 /** The attribute type. 
   100 /** The attribute type. 
    98 * 
   101 * 
    99 * @since v6.0 */
   102 * @since v6.0 */
   136 	/** RFC 2256 street component.
   139 	/** RFC 2256 street component.
   137 	* 
   140 	* 
   138 	* A street */
   141 	* A street */
   139 	ERFC2256Street,
   142 	ERFC2256Street,
   140 	/** A name of the subject of a certificate as an unstructured ASCII string */
   143 	/** A name of the subject of a certificate as an unstructured ASCII string */
   141 	EPKCS9UnstructuredName
   144 	EPKCS9UnstructuredName,
       
   145 	/** A Description */
       
   146 	EX520Description,
   142 	};
   147 	};
   143 
   148 
   144 
   149 
   145 class CASN1EncSequence;
   150 class CASN1EncSequence;
   146 
   151