public static SignOperationResult Failure(KeyResponseStatus status)
 {
     return  new SignOperationResult(status, null, null);
 }
示例#2
0
 public static KeyResponse <TData> Empty(ApduResponseStatus apduStatus, KeyResponseStatus status)
 {
     return(new KeyResponse <TData>(ApduResponse.Empty(apduStatus), null, status));
 }
 private SignOperationResult(KeyResponseStatus status, KeySignRequest request, KeySignResponse response)
 {
     Status = status;
     Request = request;
     Response = response;
 }
 public static RegisterOperationResult Failure(KeyResponseStatus status)
 {
     return new RegisterOperationResult(status, null, null);
 }
示例#5
0
 public KeyResponse(ApduResponse raw, [CanBeNull] TData data, KeyResponseStatus status)
 {
     Raw    = raw;
     Status = status;
     Data   = data;
 }
 private RegisterOperationResult(KeyResponseStatus status, KeyRegisterRequest request, KeyRegisterResponse response)
 {
     Status = status;
     Request = request;
     Response = response;
 }
 public static RegisterOperationResult Failure(KeyResponseStatus status)
 {
     return(new RegisterOperationResult(status, null, null));
 }
 private RegisterOperationResult(KeyResponseStatus status, KeyRegisterRequest request, KeyRegisterResponse response)
 {
     Status   = status;
     Request  = request;
     Response = response;
 }
示例#9
0
 public static SignOperationResult Failure(KeyResponseStatus status)
 {
     return(new SignOperationResult(status, null, null));
 }
示例#10
0
 private SignOperationResult(KeyResponseStatus status, KeySignRequest request, KeySignResponse response)
 {
     Status   = status;
     Request  = request;
     Response = response;
 }