|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.xssf.usermodel.helpers.XSSFPasswordHelper
@Internal(since="3.15 beta 3") public final class XSSFPasswordHelper
| Method Summary | |
|---|---|
static void |
setPassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
HashAlgorithm hashAlgo,
java.lang.String prefix)
Sets the XORed or hashed password |
static boolean |
validatePassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
java.lang.String prefix)
Validates the password, i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setPassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
HashAlgorithm hashAlgo,
java.lang.String prefix)
xobj - the xmlbeans object which contains the password attributespassword - the password, if null, the password attributes will be removedhashAlgo - the hash algorithm, if null the password will be XORedprefix - the prefix of the password attributes, may be null
public static boolean validatePassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
java.lang.String prefix)
xobj - the xmlbeans object which contains the password attributespassword - the password, if null the method will always return false,
even if there's no password setprefix - the prefix of the password attributes, may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||