Ejemplo n.º 1
0
 /**
  * Creates a new content signer using default algorithm.
  *
  * @param key the private key
  * @return a new content signer instance
  * @throws OperatorCreationException if the content signer cannot be created
  */
 public static ContentSigner createDefaultContentSigner(PrivateKey key)
     throws OperatorCreationException {
   return createContentSigner(SystemProperties.getDefaultSignatureAlgorithm(), key);
 }