private static Asn1OctetString CreateIVOctetString(
     SecureRandom random,
     int ivLength)
 {
     return(new DerOctetString(CreateIV(random, ivLength)));
 }
 public static Asn1Encodable GenerateParameters(
     DerObjectIdentifier algID,
     SecureRandom random)
 {
     return(GenerateParameters(algID.Id, random));
 }