Search in sources :

Example 1 with ActionNameType

use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.

the class CIFCreator method createAction.

private ActionNameType createAction(CryptographicServiceActionName actionName) {
    ActionNameType action = new ActionNameType();
    action.setCryptographicServiceAction(actionName);
    return action;
}
Also used : ActionNameType(iso.std.iso_iec._24727.tech.schema.ActionNameType)

Example 2 with ActionNameType

use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.

the class CIFCreator method createAction.

private ActionNameType createAction(NamedDataServiceActionName actionName) {
    ActionNameType action = new ActionNameType();
    action.setNamedDataServiceAction(actionName);
    return action;
}
Also used : ActionNameType(iso.std.iso_iec._24727.tech.schema.ActionNameType)

Example 3 with ActionNameType

use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.

the class CIFCreator method createAction.

private ActionNameType createAction(AuthorizationServiceActionName actionName) {
    ActionNameType action = new ActionNameType();
    action.setAuthorizationServiceAction(actionName);
    return action;
}
Also used : ActionNameType(iso.std.iso_iec._24727.tech.schema.ActionNameType)

Example 4 with ActionNameType

use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.

the class CIFCreator method createAction.

private ActionNameType createAction(DifferentialIdentityServiceActionName actionName) {
    ActionNameType action = new ActionNameType();
    action.setDifferentialIdentityServiceAction(actionName);
    return action;
}
Also used : ActionNameType(iso.std.iso_iec._24727.tech.schema.ActionNameType)

Example 5 with ActionNameType

use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.

the class AccessRuleCreator method create.

public AccessRuleType create() {
    AccessRuleType art = new AccessRuleType();
    art.setCardApplicationServiceName(serviceName);
    art.setAction(actionNameType);
    SecurityConditionType security = new SecurityConditionType();
    if (securityConditionAlways != null) {
        security.setAlways(securityConditionAlways);
    }
    if (securityConditionNever != null) {
        security.setNever(securityConditionNever);
    }
    art.setSecurityCondition(security);
    return art;
}
Also used : AccessRuleType(iso.std.iso_iec._24727.tech.schema.AccessRuleType) SecurityConditionType(iso.std.iso_iec._24727.tech.schema.SecurityConditionType)

Aggregations

ActionNameType (iso.std.iso_iec._24727.tech.schema.ActionNameType)9 AccessRuleType (iso.std.iso_iec._24727.tech.schema.AccessRuleType)1 SecurityConditionType (iso.std.iso_iec._24727.tech.schema.SecurityConditionType)1