public Builder setBcc()

in java/remoteprovisioning/CertificateRequestSerializer.java [273:284]


    public Builder setBcc(Sign1Message[] bcc, CBORObject rootKey) throws CborException {
      mBcc = CBORObject.NewArray();
      mBcc.Add(rootKey);
      for (int i = 0; i < bcc.length; i++) {
        try {
          mBcc.Add(bcc[i].EncodeToCBORObject());
        } catch (CoseException e) {
          throw new CborException("BCC encoding failure", e, CborException.SERIALIZATION_ERROR);
        }
      }
      return this;
    }