Search in sources :

Example 6 with SlotInfo

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

the class HandlerBuilder method buildConnectionHandle.

/**
 * Creates a {@code ConnectionHandleType} with all available values in the builder.
 *
 * @return A {@code ConnectionHandleType} instance.
 */
@Nonnull
public ConnectionHandleType buildConnectionHandle() {
    ConnectionHandleType handle = buildAppPath(new ConnectionHandleType());
    handle.setSlotHandle(slotHandle);
    handle.setRecognitionInfo(buildRecognitionInfo());
    if (protectedAuthPath != null) {
        ConnectionHandleType.SlotInfo slotInfo = new ConnectionHandleType.SlotInfo();
        slotInfo.setProtectedAuthPath(protectedAuthPath);
        handle.setSlotInfo(slotInfo);
    }
    return handle;
}
Also used : ConnectionHandleType(iso.std.iso_iec._24727.tech.schema.ConnectionHandleType) Nonnull(javax.annotation.Nonnull)

Aggregations

ConnectionHandleType (iso.std.iso_iec._24727.tech.schema.ConnectionHandleType)5 SlotInfo (iso.std.iso_iec._24727.tech.schema.ConnectionHandleType.SlotInfo)2 BigInteger (java.math.BigInteger)2 ConnectionHandle (de.bund.bsi.ecard.api._1.ConnectionHandle)1 InitializeFramework (de.bund.bsi.ecard.api._1.InitializeFramework)1 ApplicationCapabilitiesType (iso.std.iso_iec._24727.tech.schema.ApplicationCapabilitiesType)1 BeginTransaction (iso.std.iso_iec._24727.tech.schema.BeginTransaction)1 BeginTransactionResponse (iso.std.iso_iec._24727.tech.schema.BeginTransactionResponse)1 CardApplicationConnect (iso.std.iso_iec._24727.tech.schema.CardApplicationConnect)1 CardApplicationConnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationConnectResponse)1 CardApplicationDisconnect (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnect)1 CardApplicationDisconnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnectResponse)1 CardApplicationPath (iso.std.iso_iec._24727.tech.schema.CardApplicationPath)1 CardApplicationPathResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationPathResponse)1 CardApplicationPathType (iso.std.iso_iec._24727.tech.schema.CardApplicationPathType)1 CardInfo (iso.std.iso_iec._24727.tech.schema.CardInfo)1 CardTypeType (iso.std.iso_iec._24727.tech.schema.CardTypeType)1 ChannelHandleType (iso.std.iso_iec._24727.tech.schema.ChannelHandleType)1 Connect (iso.std.iso_iec._24727.tech.schema.Connect)1 ConnectResponse (iso.std.iso_iec._24727.tech.schema.ConnectResponse)1