Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Class BlockOperationMANAGE_CERTIFICATE

    X.509 Certificate operations

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    type: MANAGE_CERTIFICATE = OperationType.MANAGE_CERTIFICATE
    isInstance: (obj: any, strict?: boolean) => obj is BlockOperation = ...

    Accessors

    • get intermediateCertificates(): undefined | null | CertificateBundle
    • set intermediateCertificates(
          bundle:
              | undefined
              | null
              | string
              | Buffer
              | ArrayBuffer
              | Set<Certificate>
              | CertificateBundle
              | Certificate[]
              | { certificates: string[] }
              | (
                  | string
                  | Buffer
                  | ArrayBuffer
                  | Certificate
                  | {
                      $hash: CertificateHashString;
                      issuer: string;
                      issuerDN: { name: string; value: string }[];
                      notAfter: string;
                      notBefore: string;
                      serial: string;
                      subject: string;
                      subjectDN: { name: string; value: string }[];
                      subjectPublicKey:
                          | Secp256K1PublicKeyString
                          | Secp256R1PublicKeyString
                          | ED25519PublicKeyString;
                  } & {
                      $binary?: string;
                      $chain?: undefined;
                      baseExtensions?: {} & {
                          authorityKeyIdentifier?: {
                              contains: string;
                              type: "context";
                              value: 0;
                          } & {};
                          basicConstraints?: [ca: boolean, pathLenConstraint?: null | string];
                          keyUsage?: KeyUsage;
                          subjectKeyIdentifier?: string;
                      };
                  }
              )[],
      ): void

      Parameters

      • bundle:
            | undefined
            | null
            | string
            | Buffer
            | ArrayBuffer
            | Set<Certificate>
            | CertificateBundle
            | Certificate[]
            | { certificates: string[] }
            | (
                | string
                | Buffer
                | ArrayBuffer
                | Certificate
                | {
                    $hash: CertificateHashString;
                    issuer: string;
                    issuerDN: { name: string; value: string }[];
                    notAfter: string;
                    notBefore: string;
                    serial: string;
                    subject: string;
                    subjectDN: { name: string; value: string }[];
                    subjectPublicKey:
                        | Secp256K1PublicKeyString
                        | Secp256R1PublicKeyString
                        | ED25519PublicKeyString;
                } & {
                    $binary?: string;
                    $chain?: undefined;
                    baseExtensions?: {} & {
                        authorityKeyIdentifier?: {
                            contains: string;
                            type: "context";
                            value: 0;
                        } & {};
                        basicConstraints?: [ca: boolean, pathLenConstraint?: null | string];
                        keyUsage?: KeyUsage;
                        subjectKeyIdentifier?: string;
                    };
                }
            )[]

      Returns void

    Methods

    • Parameters

      • amount: string | bigint

      Returns bigint

    • Returns {
          certificateOrHash:
              | string
              | CertificateHashString
              | {
                  $hash: CertificateHashString;
                  issuer: string;
                  issuerDN: { name: string; value: string }[];
                  notAfter: string;
                  notBefore: string;
                  serial: string;
                  subject: string;
                  subjectDN: { name: string; value: string }[];
                  subjectPublicKey:
                      | Secp256K1PublicKeyString
                      | Secp256R1PublicKeyString
                      | ED25519PublicKeyString;
              } & {
                  $binary?: string;
                  $chain?: undefined;
                  baseExtensions?: {} & {
                      authorityKeyIdentifier?: {
                          contains: string;
                          type: "context";
                          value: 0;
                      } & {};
                      basicConstraints?: [ca: boolean, pathLenConstraint?: null | string];
                      keyUsage?: KeyUsage;
                      subjectKeyIdentifier?: string;
                  };
              }
              | {
                  $hash: CertificateHashString;
                  issuer: string;
                  issuerDN: { name: string; value: string }[];
                  notAfter: string;
                  notBefore: string;
                  serial: string;
                  subject: string;
                  subjectDN: { name: string; value: string }[];
                  subjectPublicKey:
                      | Secp256K1PublicKeyString
                      | Secp256R1PublicKeyString
                      | ED25519PublicKeyString;
              } & {
                  $binary?: string;
                  $chain?: undefined;
                  baseExtensions?: {} & {
                      authorityKeyIdentifier?: {
                          contains: string;
                          type: "context";
                          value: 0;
                      } & {};
                      basicConstraints?: [ca: boolean, pathLenConstraint?: null | string];
                      keyUsage?: KeyUsage;
                      subjectKeyIdentifier?: string;
                  };
              };
          method: ADD
          | SUBTRACT;
          type: MANAGE_CERTIFICATE;
      } & {
          intermediateCertificates?: null
          | string
          | { certificates: string[] };
      }