1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.28
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.entrouvert.lasso;
public class SamlAssertion extends Node {
protected SamlAssertion(long cPtr, boolean cMemoryOwn) {
super(cPtr, cMemoryOwn);
}
protected static long getCPtr(SamlAssertion obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public void delete() {
super.delete();
}
public void setAssertionId(String value) {
lassoJNI.SamlAssertion_assertionId_set(swigCPtr, value);
}
public String getAssertionId() {
return lassoJNI.SamlAssertion_assertionId_get(swigCPtr);
}
public void setCertificateFile(String value) {
lassoJNI.SamlAssertion_certificateFile_set(swigCPtr, value);
}
public String getCertificateFile() {
return lassoJNI.SamlAssertion_certificateFile_get(swigCPtr);
}
public void setIssueInstant(String value) {
lassoJNI.SamlAssertion_issueInstant_set(swigCPtr, value);
}
public String getIssueInstant() {
return lassoJNI.SamlAssertion_issueInstant_get(swigCPtr);
}
public void setIssuer(String value) {
lassoJNI.SamlAssertion_issuer_set(swigCPtr, value);
}
public String getIssuer() {
return lassoJNI.SamlAssertion_issuer_get(swigCPtr);
}
public void setMajorVersion(int value) {
lassoJNI.SamlAssertion_majorVersion_set(swigCPtr, value);
}
public int getMajorVersion() {
return lassoJNI.SamlAssertion_majorVersion_get(swigCPtr);
}
public void setMinorVersion(int value) {
lassoJNI.SamlAssertion_minorVersion_set(swigCPtr, value);
}
public int getMinorVersion() {
return lassoJNI.SamlAssertion_minorVersion_get(swigCPtr);
}
public void setPrivateKeyFile(String value) {
lassoJNI.SamlAssertion_privateKeyFile_set(swigCPtr, value);
}
public String getPrivateKeyFile() {
return lassoJNI.SamlAssertion_privateKeyFile_get(swigCPtr);
}
public void setSignMethod(int value) {
lassoJNI.SamlAssertion_signMethod_set(swigCPtr, value);
}
public int getSignMethod() {
return lassoJNI.SamlAssertion_signMethod_get(swigCPtr);
}
public void setSignType(SWIGTYPE_p_LassoSignatureType value) {
lassoJNI.SamlAssertion_signType_set(swigCPtr, SWIGTYPE_p_LassoSignatureType.getCPtr(value));
}
public SWIGTYPE_p_LassoSignatureType getSignType() {
return new SWIGTYPE_p_LassoSignatureType(lassoJNI.SamlAssertion_signType_get(swigCPtr), true);
}
public void setAdvice(SamlAdvice value) {
lassoJNI.SamlAssertion_advice_set(swigCPtr, SamlAdvice.getCPtr(value));
}
public SamlAdvice getAdvice() {
long cPtr = lassoJNI.SamlAssertion_advice_get(swigCPtr);
return (cPtr == 0) ? null : new SamlAdvice(cPtr, false);
}
public void setAttributeStatement(SamlAttributeStatement value) {
lassoJNI.SamlAssertion_attributeStatement_set(swigCPtr, SamlAttributeStatement.getCPtr(value));
}
public SamlAttributeStatement getAttributeStatement() {
long cPtr = lassoJNI.SamlAssertion_attributeStatement_get(swigCPtr);
return (cPtr == 0) ? null : new SamlAttributeStatement(cPtr, false);
}
public void setAuthenticationStatement(SamlAuthenticationStatement value) {
lassoJNI.SamlAssertion_authenticationStatement_set(swigCPtr, SamlAuthenticationStatement.getCPtr(value));
}
public SamlAuthenticationStatement getAuthenticationStatement() {
long cPtr = lassoJNI.SamlAssertion_authenticationStatement_get(swigCPtr);
return (cPtr == 0) ? null : new SamlAuthenticationStatement(cPtr, false);
}
public void setConditions(SamlConditions value) {
lassoJNI.SamlAssertion_conditions_set(swigCPtr, SamlConditions.getCPtr(value));
}
public SamlConditions getConditions() {
long cPtr = lassoJNI.SamlAssertion_conditions_get(swigCPtr);
return (cPtr == 0) ? null : new SamlConditions(cPtr, false);
}
public void setSubjectStatement(SamlSubjectStatement value) {
lassoJNI.SamlAssertion_subjectStatement_set(swigCPtr, SamlSubjectStatement.getCPtr(value));
}
public SamlSubjectStatement getSubjectStatement() {
long cPtr = lassoJNI.SamlAssertion_subjectStatement_get(swigCPtr);
return (cPtr == 0) ? null : new SamlSubjectStatement(cPtr, false);
}
public SamlAssertion() {
this(lassoJNI.new_SamlAssertion(), true);
}
public String dump() {
return lassoJNI.SamlAssertion_dump(swigCPtr);
}
}
|