HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file net.TLSCertStore by barry
expand copy to clipboardexpand
uses data.String

/* {"description" : "This API represents a store of trusted certificates that can be used to verify the authenticity of an arbitrary certificate. This is usually 'root' certificate authority certificates which are used to verify the authenticity of other certificates. You should only add certificates into a store if you have a reason to trust them."} */

interface TLSCertStore {
	
	/* {"@description" : "Create a new certificate store."} */
	TLSCertStore()
	
	/* {"@description" : "Add a new trusted X509 certificate to the store. The certificate should be supplied in a base64-encoded PEM format."} */
	bool addCertificate(char cert[])
	
	/* {"@description" : "Load all certificates from the given system path into the store (must be a hash-format directory)."} */
	bool loadLocation(char path[])
	
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n net.TLSCertStore -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation