Constructors Methodsaffirm affirm ( data , issuer ? ) : Promise < UnversionedObjectResult < Signature > > Parameters data : SHA256Hash Optional
issuer : SHA256IdHash < Person > Returns Promise < UnversionedObjectResult < Signature > > affirmed By affirmed By ( hash ) : Promise < SHA256IdHash < Person > [] > Returns Promise < SHA256IdHash < Person > [] > certified By certified By < CertT > ( hash , certType ) : Promise < SHA256IdHash < Person > [] > Type Parameters CertT extends OneObjectTypeNames Parameters hash : SHA256Hash | SHA256IdHash certType : CertT Returns Promise < SHA256IdHash < Person > [] > certify certify < T > ( type , certData , issuer ? ) : Promise < { certificate : UnversionedObjectResult < OneCertificateInterfaces [ T ] > ; license : UnversionedObjectResult < License > ; signature : UnversionedObjectResult < Signature > ; } > Type Parameters T extends keyof OneCertificateInterfaces Parameters type : T certData : Omit < OneCertificateInterfaces [ T ] , "$type$" | "license" > Optional
issuer : SHA256IdHash < Person > Returns Promise < { certificate : UnversionedObjectResult < OneCertificateInterfaces [ T ] > ; license : UnversionedObjectResult < License > ; signature : UnversionedObjectResult < Signature > ; } > find Key That Verifies Signature get Certificates get Certificates ( data ) : Promise < CertificateData < OneObjectTypes > [] > Parameters data : SHA256Hash | SHA256IdHash Returns Promise < CertificateData < OneObjectTypes > [] > get Certificates Of Type get Certificates Of Type < T > ( data , type ) : Promise < CertificateData < OneObjectInterfaces [ T ] > [] > Type Parameters T extends OneObjectTypeNames Parameters data : SHA256Hash | SHA256IdHash type : T Returns Promise < CertificateData < OneObjectInterfaces [ T ] > [] > get Keys For Person get Keys For Person ( person ) : Promise < { key : PublicSignKey ; trustInfo : KeyTrustInfo ; } [] > Parameters person : SHA256IdHash < Person > Returns Promise < { key : PublicSignKey ; trustInfo : KeyTrustInfo ; } [] > get Root Keys get Root Keys ( mode ) : Promise < PublicSignKey [] > Returns Promise < PublicSignKey [] > get Trusted Keys For Person get Trusted Keys For Person ( person ) : Promise < PublicSignKey [] > Parameters person : SHA256IdHash < Person > Returns Promise < PublicSignKey [] > init init ( ) : Promise < void > Returns Promise < void > is Affirmed By is Affirmed By ( hash , issuer ) : Promise < boolean > Parameters hash : SHA256Hash issuer : SHA256IdHash < Person > Returns Promise < boolean > is Affirmed By Anyone is Affirmed By Anyone ( hash ) : Promise < boolean > Returns Promise < boolean > is Certified By is Certified By < CertT > ( data , certType , issuer ) : Promise < boolean > Type Parameters CertT extends OneObjectTypeNames Parameters data : SHA256Hash | SHA256IdHash certType : CertT issuer : SHA256IdHash < Person > Returns Promise < boolean > is Certified By Anyone is Certified By Anyone < CertT > ( data , type ) : Promise < boolean > Type Parameters CertT extends OneObjectTypeNames Parameters data : SHA256Hash | SHA256IdHash type : CertT Returns Promise < boolean > is Key Trusted is Key Trusted ( key ) : Promise < boolean > Returns Promise < boolean > is Signed By is Signed By ( data , issuer ) : Promise < boolean > Parameters data : SHA256Hash issuer : SHA256IdHash < Person > Returns Promise < boolean > is Signed By Root Key is Signed By Root Key ( signature , mode ? ) : Promise < boolean > Returns Promise < boolean > refresh Caches refresh Caches ( ) : Promise < void > Returns Promise < void > shutdown shutdown ( ) : Promise < void > Returns Promise < void > signed By signed By ( data ) : Promise < SHA256IdHash < Person > [] > Returns Promise < SHA256IdHash < Person > [] > verify Signature With Trusted Keys verify Signature With Trusted Keys ( signature ) : Promise < boolean > Returns Promise < boolean >
Trust levels: