Searched refs:padStr (Results 1 – 2 of 2) sorted by relevance
/external/scapy/scapy/layers/tls/crypto/ |
D | pkcs1.py | 119 def _get_padding(padStr, mgf=padding.MGF1, h=hashes.SHA256, label=None): argument 120 if padStr == "pkcs": 122 elif padStr == "pss": 126 elif padStr == "oaep": 129 warning("Key.encrypt(): Unknown padding type (%s)", padStr)
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | StringUtils.java | 656 public static String center(String str, final int size, String padStr) { in center() argument 660 if (isEmpty(padStr)) { in center() 661 padStr = SPACE; in center() 668 str = leftPad(str, strLen + pads / 2, padStr); in center() 669 str = rightPad(str, size, padStr); in center() 5238 public static String leftPad(final String str, final int size, String padStr) { in leftPad() argument 5242 if (isEmpty(padStr)) { in leftPad() 5243 padStr = SPACE; in leftPad() 5245 final int padLen = padStr.length(); in leftPad() 5252 return leftPad(str, size, padStr.charAt(0)); in leftPad() [all …]
|