AssignmentPolicy
AssignmentPolicy: ((newSubjectName: Name, oldCert: Certificate) => Promise<void>)
Type declaration
- (newSubjectName: Name, oldCert: Certificate): Promise<void>
Parameters
newSubjectName: Name
oldCert: Certificate
Returns Promise<void>
Callback to determine whether the owner of
oldCert
is allowed to obtain a certificate ofnewSubjectName
. It should throw to disallow assignment.