9 lines
358 B
TypeScript
9 lines
358 B
TypeScript
import type DERObject from './DERObject.js';
|
|
import type ObjectIdentifier from './ObjectIdentifier.js';
|
|
export default class ContentInfo<TContent extends DERObject = DERObject> implements DERObject {
|
|
contentType: ObjectIdentifier;
|
|
content: TContent;
|
|
constructor(contentType: ObjectIdentifier, content: TContent);
|
|
toDER(): number[];
|
|
}
|