Property Getters/Setters Summary | ||
---|---|---|
method | getCertRawData() | |
Gets certificate raw data if this VBA project is signed.
|
||
method | getIslockedForViewing() | |
Indicates whether this VBA project is locked for viewing.
|
||
method | isProtected() | |
Indicates whether this VBA project is protected.
|
||
method | isSigned() | |
Indicates whether VBAcode is signed or not.
|
||
method | isValidSigned() | |
Indicates whether the signature of VBA project is valid or not.
|
||
method | getModules() | |
Gets all |
||
method | getName() | |
method | setName(value) | |
Gets and sets the name of the VBA project. | ||
method | getReferences() | |
Gets all references of VBA project.
|
Method Summary | ||
---|---|---|
method | copy(source) | |
Copy VBA project from other file.
|
||
method | protect(islockedForViewing, password) | |
Protects or unprotects this VBA project.
|
||
method | sign(digitalSignature) | |
Sign this VBA project by a DigitalSignature
|
||
method | validatePassword(password) | |
Validates protection password.
|
boolean isValidSigned()
byte[] getCertRawData()
String getName() / setName(value)
boolean isSigned()
boolean isProtected()
boolean getIslockedForViewing()
VbaModuleCollection getModules()
VbaProjectReferenceCollection getReferences()
sign(digitalSignature)
digitalSignature: DigitalSignature
- DigitalSignatureprotect(islockedForViewing, password)
islockedForViewing: boolean
- indicates whether locks project for viewing.password: String
-
If the value is null, unprotects this VBA project, otherwise projects the this VBA project.
copy(source)
source: VbaProject
- boolean validatePassword(password)
password: String
- the password