pub fn add<T: Config>(credential: Box<InputCredentialOf<T>>)
Expand description

Register a new public credential on chain.

This function fails if a credential with the same identifier already exists for the specified subject.

Emits CredentialStored.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::add.